10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired
report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup
is shown below:
db2... (3 Replies)
Discussion started by: okonita
I have an AIX 6.1 machine and i experienced a problem with my cron scripts. It appears that somebody renamed a cron script so crontab could not execute it.
Is there a way to put some security on cron scripts so nobody else except root can rename or delete a cron script? Or they... (6 Replies)
Discussion started by: omonoiatis9
3. UNIX for Advanced & Expert Users
while separated they produce the usual mail alert and i can see the output...
if i write into the php script:
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script1.php');
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script2.php');
system('php -f... (0 Replies)
Discussion started by: 7stars
I need to run a script (from cron) that runs a second script.
What worries me is that second script, when run from bash, upon finishing doesn't return to bash unless I press the 'Enter' key.
I presume that's because last command in that script ends with &
Could that be a problem for cron?... (2 Replies)
Discussion started by: orange47
5. UNIX for Dummies Questions & Answers
I would like to ask if cron when running a planned script changes the current folder for the script.
Thank you! (2 Replies)
Discussion started by: MartyIX
6. Shell Programming and Scripting
I have 3 scripts namingly 1X 2X and 3X.
I have one directory ABC created which contains some 40 sub directories.
I have one input file in the below format.The input file resides in ABC directory.
subdirectoryname2... (1 Reply)
Discussion started by: RSC1985
7. Shell Programming and Scripting
I would like to run two scripts using cron one immediately after the other. Is it enough to put them one after another in the cron file to run at the same time, or will this cause them to run concurrently? (4 Replies)
Discussion started by: 3210
8. Shell Programming and Scripting
I have set up a cron job which calls another shell script shell script which in turn calls a Java process. The cron tab looks so.
0,30 7-18 * * 1-5 /u01/home/weblogic/brp/bin/checkstatus.sh >> /u01/home/weblogic/logs/checkstatus.log
The checkstatus.sh scripts looks like this.
... (4 Replies)
Discussion started by: sirbrian
9. Shell Programming and Scripting
I have the following cron job in the crontab.
25 15 * * 1-5 /export/home/svittala/scripts/scpt1.sh >/dev/null 2>&1.
The problem that I am facing is - the scpt1.sh can be executed manually. But, it is not executing through CRON. Not sure what's the issue. Any hints?. Thanks.... (5 Replies)
Discussion started by: vskr72
10. Shell Programming and Scripting
i have scheduled my scripts in cron, some time the script doesn't runs ..which will impact me a lot,
can some one help me such that mail has to come stating script has run successfully/unsuccessful
any help will be appreciated..
thanks in advance,
geeko (0 Replies)
Discussion started by: geeko