Page 1 of 1
Shells script
Posted: Tue Oct 09, 2007 10:24 am
by sonukhan
how to schedule con.c program by using UNIX shells script....
Posted: Mon Nov 12, 2007 2:26 am
by amirtai
Hi
As I understand you are asking about how to run some "C" language program (your file name ending with .c) you can put it in shell script and then run as a scheduled job. Either you can create schedule file through Cron tab manager or can create it manually as well with specifiction of time and days.
Cron Commands:
crontab filename
Install configuration filename as scheduled job. On many systems, this command is executed simply as crontab filename (i.e., without the -a option).
crontab -l
Display your crontab file.
crontab -e
Edit your crontab file, or create one if it doesn't already exist.
crontab -r
Remove your crontab file.
Have fun.
Amir