Linux – How to run cron job on a specific hour every day

cronlinux

What do I need to write in crontab to execute a script at 3pm every day?

Best Answer

You are looking for something like this (via crontab -e):

0 15 * * * your.command.goes.here

15 is the hour and 0 is the minute that the script is run. Day of month, month, and day of week get wildcards so that the script gets run daily.