I am trying to use my raspi to host a discord bot that every morning publishes the food in my school. I have setup a bronjob with crontab -e
but it's not working.
Crontab lookis like this:
45 07 * 2-5 python3 /home/pi/Desktop/Python/dcfoodbot/new/send.py
30 10 * 1 python3 /home/pi/Desktop/Python/dcfoodbot/new/send.py
with blank line at the end. (Published later on mondays because food is updated that day and can sometimes be late). When i tried making it post every minuite for debuging it worked but setting it to a specific time, for example 26 18 * 2-5 python3....
did not work. I would really appreciate help!
Thanks!
EDIT:
Changed:
45 07 * 2-5 python3 /home/pi/Desktop/Python/dcfoodbot/new/send.py
30 10 * 1 python3 /home/pi/Desktop/Python/dcfoodbot/new/send.py
to
45 07 * * 2-5 python3 /home/pi/Desktop/Python/dcfoodbot/new/send.py
30 10 * * 1 python3 /home/pi/Desktop/Python/dcfoodbot/new/send.py
/full/path/to/python3
.sudo systemctl