10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to creating crontab file , i just wrote below
(40 19 * 3 * /root/maths/practisecron.sh), the script just prints "Hi".
When ever i save the above file i am getting this .
# crontab -e
crontab: installing new crontab
Can you please check where it went wrong.. (1 Reply)
Discussion started by: vkiyv05
1 Replies
2. UNIX for Dummies Questions & Answers
I am trying to setup a cron that runs a script to update my ip for my domain name every time I reboot and checks if my ip changes every 5 minutes and if it does then I update it. I am running Ubuntu server 12.04.
The file /etc/cron.d/ipupdate contains
#
#
# Run ipupdate
#
#
/5 * ... (3 Replies)
Discussion started by: Bros2
3 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I would like to set-up a script in cron on a Solaris 10 sever which would run once in 3 weeks. I am not supposed to make any changes in the script itself.
Can anyone advise how it can be done?
For any queries, kindly let me know.
Thanks. (8 Replies)
Discussion started by: suddhasatwa_bha
8 Replies
4. Shell Programming and Scripting
Hi,
I have written a shell script to transfer files to a SFTP server passing the filername, source and dest directory as parameters and it runs well. :)
I want to schedule this script to run periodically using a cron job.
root@pingu # cat /etc/crontab
SHELL=/bin/bash... (1 Reply)
Discussion started by: chetancrsp18
1 Replies
5. UNIX and Linux Applications
Hi all!!
I have a nerve-wracking concept (probably for me!!) which is not understood. My crontab entry looks this way.
33 09 22 3 * /home/myexp.sh "Bgp4 ALL" >/dev/null 2>&1
But cron gets started occasionally. Sometimes it does. Sometimes it does not. And sometimes it hangs in the middle (I... (1 Reply)
Discussion started by: dhivyasuresh
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Guys,
total newbie here, Ive read through some of the threads about cron and scripts not working and have still drawn a blank as to why mine isnt working correctly.
I have a script that runs the ausearch with a set of criteria i have setup, the only access i have to the system is via... (5 Replies)
Discussion started by: richie190784
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I've created a cron job for a script with a rsync command in it. The script is named pull.sh and contains the following line :
What it is supposed to do is pull backup files from the production server of my company to my local server. It should also generate the log file (output.log)... (1 Reply)
Discussion started by: anaigini45
1 Replies
8. Shell Programming and Scripting
i have written shell script that script has path to java programwhen irun this script in terminal i get the output but when irun in cron it gives me eror.plz send me code to set classpath
#! /bin/bash
javac Copy.java
/usr/bin/java Copy
plz help me out
how should i write classpath... (1 Reply)
Discussion started by: sari
1 Replies
9. UNIX for Dummies Questions & Answers
Hi there,
this time a have a other problem :)
i will start a script over the cron.
if i start the script manual (per command) it works without any problems, but over the cron it doesent work.
my cron looks like this:
26 15 * * * /path/scriptname.sh 2> /path/error.log
there is no... (3 Replies)
Discussion started by: scotty
3 Replies
10. UNIX for Advanced & Expert Users
Hi, I am having a few problems with cron.
I have created a shell script (to rotate www logs - this works) and then did the following (as root)
#crontab -e
2 0 * * 3 /cron_scripts/wwwlogs.sh
?
w
?
q
#
crontab -l
entry not shown e.g. it did not show what I had just writern
I then... (6 Replies)
Discussion started by: warrend
6 Replies