03-15-2011
Hi,
Even after giving full rah path, it's not working. How to invoke environmental path from a script?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
i have a scripts that update an SQL DATABASE using sqlplus command.
when i run it in a interactive mode its ok but when try to run it using the crontab i get an a messege :
"Must be attached to terminal for 'am I' option"
(there is no "who am i" command in the script)
and the DB... (4 Replies)
Discussion started by: dorilevy
4 Replies
2. Shell Programming and Scripting
Hello
i have a shell script. it is running fine when i manually run at command prompt using following command
./script_file
but while running shell script from crontab, it is giving error in each line. (2 Replies)
Discussion started by: mabrar
2 Replies
3. UNIX for Advanced & Expert Users
Hi experts,
need your helpo.
after editing the crontab while saving the file it says-
"/tmp/crontabRlaauT" 1 line, 77 characters
cron may not be running - call your system administrator
And i checked after certain time. script in cron is not running. I got a mail in user saying... (1 Reply)
Discussion started by: thepurple
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
down here part of the scheduled job in crontab (AIX Version 5)
i have problem running jspPRE-ALL.
i verrify permissions and privileges (the others job are working good)
if i run the job in command line it work correctly
#
# Aggiornamento doni e continuity
00 02 * * 2-6... (5 Replies)
Discussion started by: ilpasta
5 Replies
5. Shell Programming and Scripting
I am facing a strange issue while running a script(eg A) from the crontab entry
the script calls one more script(eg B) within it
now when i run the script A manually(with nohup) it also executes the script B (embedded inside it) as expected.
but when i run the script A from the crontab entry... (7 Replies)
Discussion started by: mad_man12
7 Replies
6. Shell Programming and Scripting
Hi All,
I've prepared a script, content is-
#!/bin/bash
echo "HI" > /tmp1
rah ";\ df -m" | sort -u >> /tmp1
echo "BYE" >> /tmp1
I've scheduled this script to be run thorugh crontab, but the script is not being able to run rah command. The output file is coming like this-
$cat... (4 Replies)
Discussion started by: NARESH1302
4 Replies
7. Solaris
I have set up my cron job on the solaris SunOS 5.10 Generic_138888-03 sun4u sparc SUNW,UltraAX-i2 but it is not running on time as expected.
Would you please help me to find out what I did wrong?
I want to have this cron job run once every month on the 1st Wednesday of the month, but it ran... (6 Replies)
Discussion started by: ggcc
6 Replies
8. Shell Programming and Scripting
Hi experts,
Need your help to schedule the script(test.sh) bi-weekly in linux machine.
script need to run at every alernate thursday at 9 am .
Please help to run the same. (6 Replies)
Discussion started by: abhigrkist
6 Replies
9. Shell Programming and Scripting
I'm having a shell script which has to be run only once at the specified time.
Shell script is like following,
#!/bin/bash
db2 connect to XXX > connection_status.txt
This script is scheduled in crontab as following,
50 4 8 5 0 sh script.sh
scheduled script is run at the specified time... (1 Reply)
Discussion started by: Rajkumar Gandhi
1 Replies
10. Solaris
hi,
i have crontab where i have put my db backup scripts but crontab do not run at specific time. i have checkted the scripts andwhen run the script as ./mydbbkp.sh so it successfully run and do the job but from cron it is not running whihcmeans cron is not running. i have an oracle user under... (3 Replies)
Discussion started by: janakors
3 Replies
SVN_ADD(3) 1 SVN_ADD(3)
svn_add - Schedules the addition of an item in a working directory
SYNOPSIS
bool svn_add (string $path, [bool $recursive = true], [bool $force = false])
DESCRIPTION
Adds the file, directory or symbolic link at $path to the working directory. The item will be added to the repository the next time you
call svn_commit(3) on the working copy.
PARAMETERS
o $path
- Path of item to add.
Note
Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the
calling script's working directory, use realpath(3) or dirname(__FILE__).
o $recursive
- If item is directory, whether or not to recursively add all of its contents. Default is TRUE
o $force
- If true, Subversion will recurse into already versioned directories in order to add unversioned files that may be hiding in
those directories. Default is FALSE
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
EXAMPLES
Example #1
svn_add(3) example
In a working directory where svn status returns:
$ svn status
? foobar.txt
<?php
svn_add('foobar.txt');
?>
...will schedule foobar.txt for addition into the repository.
SEE ALSO
SVN documentation on svn add.
PHP Documentation Group SVN_ADD(3)