CronJob Issue

Giorgos Keramidas keramida at ceid.upatras.gr
Fri Dec 16 14:43:54 EET 2005


On 2005-12-16 14:27, Giannis Papaioannou <jhn at aix.meng.auth.gr> wrote:
>Symeonidis Alexandros wrote:
>> Kalimera ki apo mena [mesimeriase ala anyway]
>>
>> panta eixa aporia pos boris na kanis cronjob ana seconds ke oxi minutes...
>>
>> dld px na trexi /scripts/anti-ddos.sh ana 30 seconds
>>
>> twra mu xriastike kiolas...
>
> eite kaneis ena script
> while(sleep 30); do /path/to/my/script.sh; done
> kai to bazeis na trexei sthn arxh kata to boot
>
> eite bazeis ena
> 1 * * * * /path/to/my/script.sh;sleep 30;/path/to/my/script.sh
> sto crontab

Eite stamatas na grafeis 'scripts' kai xrhsimopoieis mia _pragmatikh_
glwssa programmatismou, opws oloi oi Alithinoi Antres(TM), ftiaxneis ena
daemon kai to petas sto inittab gia na to ksekinaei aytomata h init(8)




More information about the Linux-greek-users mailing list