วันจันทร์ที่ 25 กุมภาพันธ์ พ.ศ. 2551

shell script crontab(การตั้งเวลา)

การตั้งเวลา( crontab )เพื่อ run shell script

เข้าไปดูว่า มีรายการอะไร ถูกตั้งไว้บ้าง

$ crontab -l

เข้าไปทำการตั้ง job

$ crontab -e

format ในการตั้ง job ลักษณะการตั้ง job จะเหมือนเป็นการเข้าไปใน vi (text editor)

0 2 25 1 2008 /usr/local/freebc2/transfercampaign.sh


โดยที่

0 << minute
2 << hour
25 << day
1 << month
2008 << year

/usr/local/freebc2/transfercampaign.sh << path script file to run by crontab schedule



1 ความคิดเห็น:

ไม่ระบุชื่อ กล่าวว่า...

Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!