There is a possibility that you crashed cron by overloading the environment.
By invoking a script with the dot "." command it executes within the envronment of the current Shell which in this case is cron itself.
Imho:
Quote:
. /informix/script.sh
Should be:
For future posts, please state what Operating System you are running and what Shell. Also if a script is failing, please post the contents of the script.
When looking in /var/adm/cron/log did you search for "script.sh" or something else? Also if your system has routine maintenace on the cron log, check the first couple of lines to see when the log started.
here is my requirement.
When ever the customer visitis the sore we want to look his information by his phone no. From the database side we are putting all the information in session pools.
for example if we have 500 stores and at any second one customer is at the counter we can get atlease 500... (2 Replies)
I have a script in the same directory as some files and directories im trying to tar up and I have it run in cron. Well it runs but says it can't find the directories, you need to be in the directory where the script is for it to work. Here is my cron and script its crappy but it does the trick =).... (3 Replies)
hi,
I am newbie,
I had set cron jobs to update something on one time very day,
I had tested the script, it run fine,
but the cron jobs seem never run.
some help?
Thanks. (4 Replies)
Hello,
I have a shell script that runs every minute to process incoming files delivered externally via SFTP to a directory. Basically the script works and processes the files however I get an error when a new file is delivered into the directory.
Please see my script below. A new file is... (2 Replies)
Hi everyone, I am having a problem with a cron, I am using Solaris 10 and need to run a php file every 5 minutes. I can run the file from the test user, but the cron does not seem to run. I do not see anything about it in /var/cron/log but see crons for other users running. What should I look... (10 Replies)
Dear Experts,
I have a script defined in Cron which runs every 1 minute.
* * * * * /export/home/myscript.sh >/dev/null 2>&1
Now the issue is executing that myscript.sh sometime will take 2/3 or more minutes to finish execution.
But after 1 minute cron will invoke another... (4 Replies)
On Solaris 10 server the system date won't match with the timestamp on files created by a cron jobs, Please help
here is what i get when i check for system date
infodba-ie10ux014:/tcpdv1_ie10/tcadmin/bin\n\r-> date
Tue Apr 24 15:27:43 GMT 2012at same time i executed a cron job, and checked... (4 Replies)
If I run 'who -u' interactively or from a script invoked through bash in a tty on my Ubuntu 12LTS box I get an output like this:
testuser pts/0 Dec 9 02:32 . 2163 (host.xx.yy)
running the same through cron I get:
testuser pts/0 2012-12-09 02:32 00:05 2163... (2 Replies)
Hi,
1)
If some job supposed to run on 1st of every month at 7 AM
In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day?
2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct)
And if 25th... (5 Replies)