Toon posts:

crontab

Pagina: 1
Acties:
  • 37 views sinds 30-01-2008

Verwijderd

Topicstarter
die sterretjes van crontab begrijp ik niet helemaal goedi kweet wel ongeveer wat ze beteken
ik wil dus om de 2 uur iets laten uitvoeren
klopt dit dan?
30 */2 * * *

  • DR
  • Registratie: December 2000
  • Niet online

DR


Commands are executed by cron(8) when the minute, hour,
and month of year fields match the current time, and when at least one of
the two day fields (day of month, or day of week) matches the current
time (see ``Note'' below). cron(8) examines cron entries once every
minute. The time and date fields are:

field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)

A field may be an asterisk (*), which always stands for ``first-last''.

Ranges of numbers are allowed. Ranges are two numbers separated with a
hyphen. The specified range is inclusive. For example, 8-11 for an
``hours'' entry specifies execution at hours 8, 9, 10 and 11.
man 5 crontab :)

[edit]
Ja zo'n */nummer kan ;)

[ Voor 7% gewijzigd door DR op 10-12-2004 17:23 ]


  • Spider.007
  • Registratie: December 2000
  • Niet online

Spider.007

* Tetragrammaton

Je laat het nu iedere 2 uur om :30 uitvoeren :) Kwestie van manpages toch :)
man crontab

---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate


  • blaataaps
  • Registratie: Juli 2001
  • Niet online
Dit staat letterlijk uitgelegd in de manpages van crontab, en anders is het ook wel op diverse howto-sites te vinden.

Dit topic is gesloten.