maxx
Cadet
- Joined
- Jan 31, 2016
- Messages
- 8
While transferring settings I changed the CRON setting from AJAX to CRON (as it was in Owncloud) and it seems this does not work in Nextcloud. I entered the jail and checked the "crontab -u www -l" and the entry is identical (corrected for the path) to Owncloud.
I tried running the command:
but it doesn't want to under the root user and couldn't figure out how to run it as "www".
EDIT: Install "sudo" to change user by entering jail and installing using:
I then ran the cron job manually with:
And confirmed that the job ran by verifying the settings/admin page:
It's almost as if the cron deamon isn't running.
I tried running the command:
*/15 * * * * /usr/pbi/nextcloud-amd64/bin/php -f /usr/pbi/nextcloud-amd64/www/nextcloud/cron.php
but it doesn't want to under the root user and couldn't figure out how to run it as "www".
EDIT: Install "sudo" to change user by entering jail and installing using:
pkg install nano wget sudo
I then ran the cron job manually with:
sudo -u www /usr/pbi/nextcloud-amd64/bin/php -f /usr/pbi/nextcloud-amd64/www/nextcloud/cron.php
And confirmed that the job ran by verifying the settings/admin page:
Cron Last cron job execution: seconds ago.
It's almost as if the cron deamon isn't running.
Last edited: