As sprinkmeier said, you've set it to run at minutes 1 to 24 past each hour. If you want it to run every hour you could do
(There is no "24" on a 24 hour clock. It runs from 00:00 to 23:59)
or
The first method is slightly clearer, but you can use either.
To check that it is being started, wait until just after the hour and then
Code: Select all
rpdom@raspi5 ~ $ tail /var/log/auth.log
Jun 27 08:20:01 raspi5 CRON[31559]: pam_unix(cron:session): session opened for user rpdom by (uid=0)
Jun 27 08:20:03 raspi5 CRON[31559]: pam_unix(cron:session): session closed for user rpdom
Jun 27 08:25:01 raspi5 CRON[31589]: pam_unix(cron:session): session opened for user rpdom by (uid=0)
Jun 27 08:25:02 raspi5 CRON[31589]: pam_unix(cron:session): session closed for user rpdom
Jun 27 08:27:51 raspi5 sshd[31620]: Accepted publickey for rpdom from 192.168.1.42 port 41103 ssh2
Jun 27 08:27:51 raspi5 sshd[31620]: pam_unix(sshd:session): session opened for user rpdom by (uid=0)
There you can see CRON entries to show that something was run at that time.
To debug the cron script itself you can add logging to the entry
Code: Select all
0 0-23 * * /home/pi/Desktop/wall >/tmp/wall.out 2>/tmp/wall.err
When the cron runs it will create two files under /tmp. wall.out will contain any ordinary output from the run, and wall.err will contain any error messages. Because I suggested ">" instead of ">>" the files will get overwritten every time the cron runs, so only the latest ones will be there.