← Back to team overview

sslug-teknik team mailing list archive

Sv: Konfiguration af Cron

 

Tak for svar.
Den del af det havde jeg faktisk også læst mig til. Nu er sagen bare den HVOR
skal jeg lave det entry? I hvilken fil skal jeg skrive det? Med hvilket program
kan jeg lave det entry?

Findes der et program, hvormed man kan lave den slags programkørsel
planlægninger?

Falko

> 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.
>




Follow ups

References