I have created a file called
#!/bin/sh /usr/sbin/ntpdate-debian date > /tmp/william_tmp date > /william_tmp date > ~/william_tmp echo test
I also did Chmod 755 to this file.
However, I can't tell if the file has run or not!
The file is not created in any of the 3 directories.
If I manually run
cd / && run-parts --report /etc/cron.hourly then the files are created and I get the echo.
Can anyone recommend (ideally step by step!) instructions to test that it is working?