Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

corn job

Question posted by: gupta24 (Newbie) on June 19th, 2008 01:44 PM
i wrote one script.......

1. if run the script in cron how can put into the cron
2. the script will need to run every 10 mins how put it in the script (how can declare in my script)
3.when corn job script run we need to display time and date
Regards,
Madhu
gpraghuram's Avatar
gpraghuram
Expert
1,117 Posts
June 20th, 2008
01:22 AM
#2

Re: corn job
1. if run the script in cron how can put into the cron
You have to use crontab -e and add the entry there
2. the script will need to run every 10 mins how put it in the script (how can declare in my script)
Check this link
3.when corn job script run we need to display time and date
use date command in the script


Raghuram

Reply
gupta24's Avatar
gupta24
Newbie
11 Posts
June 20th, 2008
05:03 AM
#3

Re: corn job
Please help...............

Reply
gpraghuram's Avatar
gpraghuram
Expert
1,117 Posts
June 20th, 2008
07:36 AM
#4

Re: corn job
Quote:
Please help...............



Did you go through the links what i have sent you in the previous post?
Did u try anything after reading that?

Raghu

Reply
Reply
Not the answer you were looking for? Post your question . . .
189,285 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Linux / Unix / BSD Forum Contributors