Cron Script
Hai Friends
in my linux box i have lot of cron jobs. i need to make all cron jobs in script files. is it possible to make this. like 30 5 * * * wget -q http://www.example.com/site/psychren...automation.htm 45 23 * * *wget -q http://www.example.com/site/updatebo...sionstatus.htm Now how i change this in a script file. please advise me. |
Quote:
Are you asking if you can put the following into a script? Code:
wget -q http://www.example.com/site/psychren...automation.htm |
cron job
Quote:
Thanks for reply. Yes i need to put in a script file. |
Might want to do it like this so you know exactly where the file is going to be downloaded to:
Code:
30 5 * * * wget -q http://www.example.com/site/psychrenewalstatusautomation.htm -o /home/YourName/psychrenewalstatusautomation.htm Then create a file in there called something like MyWgetJobs.sh Code:
#!/bin/bash Now just create one CRON job to run the MyWgetJobs.sh script. Code:
30 5 * * * /home/yourname/bin/MyWgetJobs.sh |
cron job
Quote:
Hai Thank you for the help |
All times are GMT -5. The time now is 11:25 AM. |