0

How can I run command every twelve hours every day? Tried this not working :

  /12 * * * * *  mycommand
saravanan
  • 27
  • 2
  • 5

1 Answers1

3
0 0,12 * * * yourcommand

executes your command at 0 and at 12 o'clock.

*/12 * * * *  your command

would execute your command every 12 minutes each hour.

Christoph Diegelmann
  • 2,004
  • 15
  • 26
  • 1
    +1. An alternative to your first line would be `0 0/12 * * *`, using the `/12` syntax used by the OP. – glglgl Aug 30 '13 at 07:57