[Linuxtrent] Re: cron e giorno specifico

  • From: Roberto Resoli <roberto.resoli@xxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Fri, 4 May 2012 16:17:01 +0200

Il 04/05/12, Gianni Caldonazzi<gianni.caldonazzi@xxxxxxxxx> ha scritto:
> Il giorno 04/mag/2012 10:55, "Mauro Colorio" <mauro.colorio@xxxxxxxxx> ha
> scritto:
> [...]
>
>> qualche suggerimento?
>
> Caspita, non pensavo fosse così complicato.
> Comunque Diaolin ha sempre ragione ...

si, perchè legge le pagine di manuale:

man 5 crontab

"     Note: The day of a command's execution can be specified
       by two fields — day of month, and day of week.  If both
       fields are restricted (i.e.,  aren't  *),  the  command
       will be run when either field matches the current time.
       For example,
       ``30 4 1,15 * 5'' would cause a command to  be  run  at
       4:30  am  on the 1st and 15th of each month, plus every
       Friday. One can, however, achieve the desired result by
       adding  a  test to the command (see the last example in
       EXAMPLE CRON FILE below).
"

rob
--
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: