Once your crontab file is created, in your home if you just wish to add extra schedule (removing or modifying existing is out of question here...), your script has just to append new (correct syntax...) line and reload the file e.g:
You're done...
Hi,
I need to write script which will read a value from XML file and schedule crontab accordingly.
I have an XML file which has a key value structure where the entries is:
<Param Name="executionInterval" Value="600" />
600 means that the crontab should be scheduled to run every 600 sec.
... (0 Replies)
Hi,
How can we run/schedule a shell script. Since there is no access to cron at this point of time we have to think other way out to run a script every hour.
How can we achieve this. Need advice.
How about using sleep,autosys etc...the script should trigger off every hour...which sends... (3 Replies)
Hi all,
My OS is Solaris 10. I want to schedule a job which i need to run between morining 6 to eve 6 once for every 2 hours. This is what i did.
0 6-18 * * 1-5 /monitor.sh
It runs for every hour how to make it for every two hours ......
Thanks,
Firestar. (1 Reply)
Is there an issue with running a cron entry like the below entries?
0 2 21 12 2 cd /usr/local/bin;./cksecurity.sh -f /home/theninja/security.dat21
I wanted this to run on Tues at 2am, which it did successfully, however I also had the following entry to run next tuesday that also ran on 12/21.... (3 Replies)
Hi,
I need to schedule a script in crontab which should run at 01:00 am in the morning and should run for every 15 days in a month.
How to schedule this by using crontab?
Many thanks.
Rgds, (13 Replies)
Hi all,
i have the following script
#!/bin/sh
for i in `ps -leaf --cols 1024 | grep LogUser | grep -v grep | awk '{print $4}'`;
do
echo $i
kill -15 $i;
done;
but it seems that the crontab its sciping this script,i configured corntab as following
*/30 * * * root... (2 Replies)
Hi
Iam running below script in crontab but its not working.
#!/bin/sh
cd /Scripts
/usr/local/bin/expect -f /Scripts/bng_backup.exp /Scripts/data.txt
tar -cf bngbackup.tar bngbackup ;gzip bngbackup.tar
when iam running manually the output file is generating..but bngbackup.tar.gz file... (5 Replies)
Hi
I need my script to run at 7:30, 7:40, 7:50 & 8:00 AM.
Defined like:
30,40,50 7,8 * * * sh myscript.sh
But this runs even at 8:30, 8:40, 8:50 - which I don't need..
Please advise. (4 Replies)
When I update the crontab, I get error message. Any idea?
0 0-23 * * * /usr/local/scripts/monitor.sh > /dev/null ( BEFORE)
*/5 * * * * /usr/local/scripts/monitor.sh > /dev/null (Now) it doesn't allow me to save the work.
Error message...
crontab: */5 * * * *... (3 Replies)