Skip to main content

linux - How to configure cron job to run every 2 days at 11PM




I have a centos server and I want to run a job on it at 11PM every 2 days, how do I do that?


Answer



You can use the following cron arrangement. The fields denote (from left-to-right):

Minute, Hour, Day of Month, Month, Day of Week. The "*/2" in the Day of Month field means "every two days".




0 23 */2 * * insert_your_script_here.sh


Comments