Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

Troubleshooting • Re: Cannot Get Cron Jobs Running

$
0
0

Code:

*/15 * * * /home/jeff/cronjob/pcloudcronjob2.sh
(code tags added for readability)
That's a bad cron entry. There should be 5 time/date parameters. You've only got 4. "*/15 * * *".

You probably want

Code:

*/15 * * * * /home/jeff/cronjob/pcloudcronjob2.sh >/home/jeff/cronjob/pcloudcronjob2.log 2>&1
I've also added logging to a file as recommended by the local cron guru thagrol. You really should read his guide to cron.

Statistics: Posted by rpdom — Fri Aug 15, 2025 3:36 pm



Viewing all articles
Browse latest Browse all 8026

Trending Articles