Article 59H4H Cron job not working as expected, Raspberry Pi OS, Raspberry Pi 4B

Cron job not working as expected, Raspberry Pi OS, Raspberry Pi 4B

by
prinsepia
from LinuxQuestions.org on (#59H4H)
Hi all!

This is the cron job I am using right now for a daily program:

# ...
# m h dom mon dow command
1 0 * * 1-7 cd /home/pi/prg && python3 /home/pi/prg/spread.py > outfile 2>&1

I wanted the job to start at 00:01 am, but it always starts at 01:01 am.

My time zone:
Central European Standard Time (CET) (GMT+1)

When I check the time zone of the Raspberry Pi OS using the 'date' command, I see the OS is also configured as GMT+1.

Does someone know how to fix this or what I could do to make my program start at 00:01 am? Did someone run into the same or a similar issue?

Thank you guys in advance!~

Cheers,
Prinsepialatest?d=yIl2AUoC8zA latest?i=u9ImQVViTBM:5RQ9g94JCso:F7zBnMy latest?i=u9ImQVViTBM:5RQ9g94JCso:V_sGLiP latest?d=qj6IDK7rITs latest?i=u9ImQVViTBM:5RQ9g94JCso:gIN9vFwu9ImQVViTBM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments