Skip to content

Commit 63e97ca

Browse files
authored
Add crontab command to schedule troubleshooting docs (#168)
* add crontab command to schedule troubleshooting docs * add info about webserver user
1 parent 4952bf4 commit 63e97ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/troubleshooting.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ If your Schedules are stuck on `Processing` or don't execute the tasks check the
124124
* Is your Schedule set to run `ONLY WHEN SERVER IS ONLINE` and the server is currently offline?
125125
* Is your queue worker service running? (`systemctl status pelican-queue`)
126126
* Is your queue worker service using the correct PHP version? (`php -v`)
127-
* Is your cronjob setup correctly? (`crontab -l -u www-data` should show an entry that runs `php artisan schedule:run` every minute)
127+
* Is your cronjob setup correctly? `crontab -l -u www-data` (where `www-data` is your webserver user) should show the following entry:
128+
`* * * * * php /var/www/pelican/artisan schedule:run >> /dev/null 2>&1`
128129

129130
If your queue worker service is not running you can also check the panel logs for errors.
130131

0 commit comments

Comments
 (0)