schedule program
Hello!
After I gave up rom finnding a program that run aMule from 00:00 to 7:00, I decide to write, in C, it to myself. I just want to know how can I get the exact time now(hours and minutes is enaf). Thanks. |
date +"%H:%M"
But maybe your solution can come with CRON |
It in C?
The cron I have on the computer doesn't have the ability to stop program after a while. It called Kcron. |
You can set up another cron to kill program, that is to run killall program_name
|
That's great idea. Thanks.
|
why kill it after a time?
if you must... here's a script that might work as a cron job Code:
program_one & # put in bg |
All times are GMT -5. The time now is 05:48 AM. |