• Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
No Result
View All Result
Home Tutorials

Owncloud Rescan File System Cron Job – ALL Versions

by Sick Codes
August 9, 2016 - Updated on June 24, 2020
in Tutorials
0

Owncloud has it’s own special php command console.

As the Owncloud file system user (in my case, admin), add this to cron:

php /home/admin/web/DOMAIN.COM/public_html/occ files:scan --all

Or if you’d prefer to do it as root:

sudo -u admin php /home/admin/web/DOMAIN.COM/public_html/occ files:scan --all

Replace DOMAIN.COM and the preceding file path with your public www folder.

This is especially useful when sending files to Owncloud via cron or download or a once off time so that Owncloud will display them.

I used this in the following example of a cron job to get Asterisk recordings of phone calls so that I could securely play them on my iPhone in my own time.

Next Post

Owncloud Super Easy Install Instant CentOS 7

Super Easy: VPS Ubuntu Desktop, Windows VPS Desktop (FREE)

Logmein linux mac version

Install LogMeIn Technician Console on Mac & Linux (Ubuntu/Debian/Mint)

No Result
View All Result
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training

© 2017-2021 Sick.Codes

@sickcodes

@sickcodes

@sickcodes

Discord Server

sickcodes.slack.com

t.me/sickcodeschat

./contact_form