I have a script to be run at 1:32 am, so I set a cronjob by
$ crontab -e
And in the editting file, I have
32 1 * * * /home/user/.scripts/midnightjobs
where "user" is my user name. However, it did not work.
Attempts I made
I tried adding a logging function in my script, and hoped to see what was wrong. It seems like the script never has run.
I also tried adding another cronjob at 7:59am:
0 8 * * * /home/user/.scripts/midnightjobs
And it works! The script ran, and did output a log file at 8 am.
I believe I have been very careful.. and based on my second attempt, my best guess is that my laptop (running on an archlinux) secretly falls asleep at nights, failing to run the cronjob.