phileeny Posted January 23, 2023 Share Posted January 23, 2023 I don't know the programming language to get under the hood so all this "docker exec -i Nextcloud sudo -u root php -f" is lost on me but I'm learning, I figured -u is user. I have searched the forum and the web but all I get is more confused. I have nextcloud installed and running but I can't figure out CRON in nextcloud, it says CRON recommended Use system cron service to call the cron.php file every 5 minutes. Recommended for all instances. The cron.php needs to be executed by the system user "www-data". my nextcloud cron.php file is in location "/mnt/user/appdata/nextcloud/html/cron.php" but how do I run the file? I tried with User Scripts #!/bin/bash docker exec -i Nextcloud sudo -u root php -f /mnt/user/appdata/nextcloud/html/cron.php but this did nothing and I see crontab on websites, I did find it on terminal "crontab -e" but not sure what to type in and any thing I try I try is just a stab in the dark, I can't even get it to save or run. Could someone please help. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.