User Tools

Site Tools


computing:cronsyntax

  • cronsyntax
  • Jonathan Haack
  • Haack's Networking
  • netcmnd@jonathanhaack.com

I hate cron syntax - block from when I was younger


Every day at 2:30am

30 2 * * * /your/command

Every Monday at 2:30am

30 2 * * 1 /your/command

First day of the month

0 0 1 * * /your/command

Here is a helpful text-based explanation from systutorials.com:

You got it, right?

Problem solving? Append the output of the command you run with cron to a log as follows:

  0 0 1 * * /your/command > /home/username/Desktop/command.log
  

Need more information, visit this Stack Exchange post:

Cron

This tutorial is a designated “Invariant Section” of the “Technotronic” section of Haack's Wiki as described on the Start Page.

oemb1905 2018/12/03 11:23

computing/cronsyntax.txt · Last modified: 2019/01/13 19:20 by oemb1905