Topic: how to make the program run in the specified time Author:? Littleline () rank: Credit value: 100 belongs to the community: Linux / Unix community program development zones Points: 50 Replies: 8 Time: 2004-8-24 10:49:30
As the title, how do you trigger a program in a date? For example, I have to do a month to organize a month, I will finish it every month, thank you!
Reply to: YWPOWER (茜) () Reputation: 100 2004-8-24 11:01:49 Score: 5
It seems that there is this relevant order under Linux to say, specifically you check the Man's manual.
TOP
Reply to: shockliu (no heart) () Reputation: 100 2004-8-24 11:10:09 Score: 20
Use crontab
crontab -L view the original timed operation
CRONTAB -E modifies timing operations, you can add deletion.
CRONTAB FILE can import file content into a crontab table
Internal format
0,10 * * * * / usr / bin / do_it_at_time> Err.log
The hourly month * is the matching character, ',' is a separator in a field.
If the example I have inside the room, each month, every hour of every hour of every hour of every hour, performs the back command.
TOP
Reply to: LittleLine () () Reputation: 100 2004-8-24 11:10:47 Score: 0
Know that there is a related order, just don't know which one is, just start writing the program, so there is a bit of the feeling of starting, thank you, please refer to you!
TOP
Reply to: Collide (to be programmer) () Reputation: 100 2004-8-24 12:25:35 Score: 10
Consent, no heart,
Man Corntab
Take a look at this, Chinese:
http://www.chinaunix.net/jh/6/271992.html
TOP
Reply to: BLH (Old Cat) () Reputation: 170 2004-8-24 12:28:35 Score: 10
Crontab -e
TOP
Reply to: mahongxi (roast chicken wings) (color touch) () reputation: 100 2004-8-24 12:43:10 Score: 5
If you just do it at a time, you can try AT
TOP
Reply to: Pacman2000 (Pacman) (影 子 传) () Reputation: 100 2004-8-24 13:03:10 Score: 0
:( All are finished.
TOP
Reply to: LittleLine () () Reputation: 100 2004-8-24 15:16:03 Score: 0
Thank you! I understand
TOP