sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #19086
Re: Konfiguration af Cron
On Tue, 22 Feb 2000 12:53:03 +0100, Falko Jens Wagner <fjw@xxxxxxxxx> wrote:
> Hej SSLUG,
> jeg kunne godt tænke mig at lave en entry i crontab, således at maskinen
> genstarter hver tirsdag.
> Hvordan gør man det lettest? Der er ikke meget hjælp at hente i "man crontab".
> Det er lige som om der mangler et par brikker i puslespillet.
Fra siderne på Solaris:
<SNIP>
crontab Entry Format
A crontab file consists of lines of six fields each. The
fields are separated by spaces or tabs. The first five are
integer patterns that specify the following:
minute (0-59),
hour (0-23),
day of the month (1-31),
month of the year (1-12),
day of the week (0-6 with 0=Sunday).
<SNIP>
Du skal altså lave et entry i retningen af:
15 4 * * 2 root /sbin/init 6
Det vil reboote din box tirsdag morgen kl. 4:15.
--
Most kind regards,
Kristian Bjoernskov, <mailto:krbj@xxxxxxx>
Novo Nordisk IT, Network - internet.
Phone: +45 4442 3299. Fax: +45 4442 6061
Follow ups
References