10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
How can I write a cron job that runs the MySQL "show processlist" command and stores in log file every 5 seconds between 5 am to 7 am?
I know the lowest possible timing I can have in cron is a minute not second. If I need a script, I am looking for a solution in Bash.
I think this cron... (2 Replies)
Discussion started by: riomario
2 Replies
2. UNIX for Dummies Questions & Answers
Hello All,
I was wondering if someone could take a quick glance at this Cron job and tell me if it's going to do what I am expecting.
I want it to run everyday at 8:00 am and 5:00 pm.
And the line in Crontab looks like:
0 8,17 * * * /usr/local/myScript.sh
Does that look correct?
... (6 Replies)
Discussion started by: mrm5102
6 Replies
3. UNIX for Dummies Questions & Answers
I have process1 running on one machine and generating some log file. Now another process which can be launched on any machine wants to know if process1 is running or not and also in case it is running it wants to stream the logs file generated by process1 on terminal from which process2 is... (2 Replies)
Discussion started by: saurabhnsit2001
2 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
We use cron "/usr/rdl/sc/cccron" to execute our jobs.
But sometimes it is being changed. but we are not sure when it is changed.
how could we find when cron is modified.
i checked cron by giving ls -l . but it is showing 2009 year.
ls -l /usr/rdl/sc/cccron
-r-xr-xr-x 1... (2 Replies)
Discussion started by: Divakar
2 Replies
5. Shell Programming and Scripting
Hi all,
We use cron "/usr/rdl/sc/cccron" to execute our jobs.
But sometimes it is being changed. but we are not sure when it is changed.
how could we find when cron is modified.
i checked cron by giving ls -l . but it is showing 2009 year.
ls -l /usr/rdl/sc/cccron
-r-xr-xr-x 1... (0 Replies)
Discussion started by: Divakar
0 Replies
6. Shell Programming and Scripting
How to check what cron is scheduled to run? I don't want to modify anything. Thanks (1 Reply)
Discussion started by: stevensw
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I have got a shell script that excutes some job and mails me the output as an attachment.
While running the script manually, its perfect.
when i am scheduling the job through crontab, i am getting the mail.
but the attachment but this is a blank file.
after the scheduler run, i can... (2 Replies)
Discussion started by: gotam
2 Replies
8. UNIX for Advanced & Expert Users
I have script whether a cron daemon is running or not. Ive kept this script in cron to check. If the cron fails how ll i come to know that the cron daemon is failed. Mystery ...
Thanks
Gopi (2 Replies)
Discussion started by: ilugopal
2 Replies
9. Shell Programming and Scripting
Hi Experts,
Is there any command by which i can chk that the cron process is running fine? Say i have scheduled the cron to run at 10 o clock every monday,Do i need to wait for the time it runs and then chk using ps -ef?
Please shed some light.
Thanks
Ashok. (2 Replies)
Discussion started by: Ashok_oct22
2 Replies
10. UNIX for Dummies Questions & Answers
I am looking for information on how to process mail using a cron job. The email server is a hosted ISP, so I simply have a POP connection to the mailbox.
Specifically, I want to fire a cron job at {x} time and have pine, mail, mailx, or some other suitable mail client utility process the... (1 Reply)
Discussion started by: EOD
1 Replies