2009-11-07 17:36:03 +0000 2009-11-07 17:36:03 +0000

Risposte (7)

Punteggio 97
2009-11-07 17:39:51 +0000

Questo dovrebbe bastare:

5 8 * * 6 <user> <command>

o per la leggibilità

5 8 * * Sat <user> <command>

documentazione (man 5 crontab):

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)
Advertisement
Punteggio 22
2009-11-07 17:41:33 +0000

Sat 8:05AM eseguire trovare

# Minute Hour Day of Month Month Day of Week Command    
# (0-59) (0-23) (1-31) (1-12 or Jan-Dec) (0-6 or Sun-Sat)                
    5 8 * * Sat /usr/bin/find
Punteggio 2
2009-11-07 17:47:04 +0000

Da un'indagine approfondita di “man 5 crontab”, sembra che questo farà il trucco:

5 8 * * sat /usr/bin/man 5 crontab

Advertisement
Punteggio 1
2009-11-07 17:40:20 +0000
Advertisement
5 8 * * 6 *your command*
Advertisement
Punteggio 0
2012-04-04 01:13:23 +0000
Advertisement

Potete anche fare così:

Cambia crontab:

5 8 * * * <user> cd / && run-parts --report /etc/cron.daily

E metti tutti i tuoi script di comando in questa directory /etc/cron.daily. Assicuratevi di aver aggiunto i diritti di esecuzione per loro.