Shells script

Here you can discuss Operating Systems Linux/Windows issues.
Post Reply
sonukhan
Posts: 6
Joined: Thu Jun 14, 2007 12:06 pm
Location: India

Shells script

Post by sonukhan »

how to schedule con.c program by using UNIX shells script....
amirtai
Posts: 138
Joined: Sat Apr 08, 2006 5:54 pm
Location: Canada
Contact:

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests