10 More Discussions You Might Find Interesting
1. AIX
Hello everyone,
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
6 Replies
2. UNIX for Advanced & Expert Users
hi,
while separated they produce the usual mail alert and i can see the output...
if i write into the php script:
<?php
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
0 Replies
3. Solaris
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
2 Replies
4. Shell Programming and Scripting
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies
5. Shell Programming and Scripting
Hi Gurus,
I have a test unix server in which currently some unix cronjob are running.
I have written two script one is a shell script in which env variable are there (in that i am exporting those variables).
I have also written a perl script .
when i am running at the shell manually like... (5 Replies)
Discussion started by: sanjay.login
5 Replies
6. Shell Programming and Scripting
hi all, i have scripts executable in manully, but not working in cron. any ideas? thanks a lot?
* * * * * /home/dir/dir/file.sh
#! /bin/sh
alarmPath="/home/dir/monitoringAlarm"
alarmDateTime="$(date +%Y%m%d) $(date +%H%M%S)"
tomcatPID=`pidof /usr/local/jdk1.6.0_13/bin/java`
echo "tomcat... (3 Replies)
Discussion started by: maxlee24
3 Replies
7. 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
2 Replies
8. 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
4 Replies
9. Shell Programming and Scripting
Hi,
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
0 Replies
10. UNIX for Dummies Questions & Answers
What are the rules of calling shell scripts in cron.
How do I go about setting up the correct PATHS that calls a script, which then calls another sub script all of which has to retain the orginal PATHS and VARS that I've set up in first script
Confused..
ok
Well Cron calls a script... (3 Replies)
Discussion started by: cfoxwell
3 Replies