Re: syntax problem with cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mi, den 08.09.2004 schrieb Alexander Dalloz um 17:56:

> 1 * * * * sleep $[ $RANDOM \% 1800 ] ;/usr/bin/freshclam --quiet
> 
> I wouldn't use this crontab because it does not what it should do. It
> starts every single minute a new task, wating the random amount of
> seconds until it executes the freshclam process. So these "sleepers" are
> rapidly growing.

Sorry, blame me for reading and replying too fast. I will be more
careful in future (hope so:)

The crontab entry does not cause the command to be run every single
minute but a minute after each full hour. So the tasks will not rapidly
sum up. Pardon.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 18:37:02 up 9 days, 15:53, load average: 0.69, 0.22, 0.14 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux