Cron job

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
User avatar
Joulinar
Posts: 2072
Joined: Sat Nov 16, 2019 12:49 am

Re: Cron job

Post by Joulinar »

Hi,
how is it going if you test the execution like this

Code: Select all

run-parts --test /etc/cron.daily/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
slook
Posts: 5
Joined: Mon Jan 20, 2020 8:52 pm

Re: Cron job

Post by slook »

i set up a job under crontab -e and its working
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Cron job

Post by MichaIng »

Note that scripts in /etc/cron.*/* must have alphanumerical (and - _) names, must not have dots (file endings) and must have executable flag. run-parts is quite strict: https://manpages.debian.org/run-parts
Post Reply