Noob Question: OwnCloud recommends setting up a cron job to run background tasks

Status
Not open for further replies.

mlcatl

Cadet
Joined
Jul 30, 2013
Messages
2
From the OwnCloud manual:
Cron
Using the systems cron feature is the preferred way to run regular tasks, because it allows to execute jobs without the limitations which a web server may have.
Example
To run a cron job on a nix system, e.g. every 15min, under the default webserver user, e.g. **www-data*, you need to set-up the following cron job to call the cron.php script. Please check the crontab man page for the exact command syntax.
# crontab -u www-data -e
*/15 * * * * php -f /var/www/owncloud/cron.php
Question:
1) Do I run this from within the jail (via jexec command) or do I run this as root in freeNAS?
2)Is 15 minutes a reasonable frequency?
3) Is that EXACTLY the command that I run if I installed ownCloud by just clicking the plugin in the FREENAS GUI?

Thanks,
Noob
 
Status
Not open for further replies.
Top