Beta Version:: http://catur.web.id

How to do crontab every 30 seconds? PDF Print E-mail
User Rating: / 5
PoorBest 
Monday, 11 August 2008 16:17
How to do cronjob every 30 seconds? There is no way. But you can use sleep every x second.
# crontab -e
Put this code into crontab. 
* * * * * sleep 30; /var/www/html/catur/syncron.php > /dev/null 2>&1
30 means 30 seconds. By default is in second. If you want to do in minute or hour just put 30m or 30h.
 > /dev/null 2>&1 means no mail when doing this job. Hope usefull.
 

Usefull Site

Banner

Category

Member Login






Search Product

Manufacturers



Random Products

KY 712
KY 712
Rp125.000,00


KY 714
KY 714
Rp1.197.427.823,26


Main Menu