In an existing crontab script for the root user, I've added 5 new lines of code, however for some unknown reason, these lines of code were not executed.
Here is what I did
The general idea is that at 12:30 am (that is midnight + 30 mins) each night a C-program called disk_reporter runs to gather disk usage information on the parameter disks (picnic, chopper, bliss, nugget).
If im not mistaken, the syntax of my code above should be correct
Also, when doing an ls -al, I found that the root crontab file (the one Im editing) has read only permsissions for all users and groups in general (it was showing -r--r--r--), however given that I was able to add 5 extra lines of code this is quite bizzare.
However Im still not sure what I've done wrong ? Can anyone help me out here ?
Hi all
we r using hpUX11.00 9000 sever as oracle 8i db server...
But the problem is we have 4 instances of dbs but upto my knowledge there are only to ports available for TNS listen...
how can i configure or get wht ever it may be the other two ports for tns listener.........
... (2 Replies)
this is my lex file ------------ test.l
%%
printf("%c",yytext+'a'-'A');.ECHO;
how do i compile it
$ lex test.l cc lex.yy.c -o test -ll <------|
|
if this is correct do i add this line--------| @the command line or does it... (0 Replies)
need help....just wanna copy all files with no extensions but with tree-informations to one dir
first I make a new directory with all foldertrees...like
find / -name "*" -type d >a1
sed -e 's/^/new/g' <a1 >b1
mkdir -p `cat a1`
then I wanna copy all specific files with no... (12 Replies)
Server 1 SSH Version Sun_SSH_1.0
Server 2 OpenSSH_3.8.1p1
Server 3 OpenSSH_3.8p1
I created the rsa keys on server1. Public and private. I copied the id_rsa.pub file to server2 and server3 and appended this to the authorized_keys file in the .ssh directory on both. (All servers using the root... (2 Replies)
I do not have the luxery of a server that i can try on, so i had to post my qn here.
Say i have two jobs in the cron table, the jobs are scheduled 2 mins apart. Assuming the first jobs does a lot of operations and takes > 2 mins. Will the second job be executed? Will Unix actually have a queue... (3 Replies)
Hi
I have written a shell script(in Solaris) in which following logic is there.....
i=1
while read control
do
key=`echo $control | awk -F$DELIMITOR '{ print $1 }'`
echo "Key Values" ${key}
i=`/usr/bin/expr $i + 1`
done < $CONFPATH/$CONFFILE
when i execute it at prompt it... (4 Replies)
Hi,
if I launche this at commande line It is OK :
$ /home/oracle/anaschxt_A01_5_15_25_plemae.sh
but if I put it in crontab :
Like this :
I have this error :
/home/oracle/anaschxt_A01_5_15_25_plemae.sh: sqlplus: not find.
The script is :
+17 ... (2 Replies)
hi guys...
i m using rm *.zip or rm -rf *.zip while removing from a server path recursively,
i m getting "Remove directory operation failed."
if i use rm* .zip
i m getting as invalid command and none of the files are removed..
please help where m i wrong
when i execute the... (13 Replies)
Hi,
I have written a script for file scan :
#!/bin/sh
find . -name "common.log.diff" > /dev/null 2>&1
if ; then
cp common.log common.log.diff
diff common.log common.log.diff > DIFFERENCE.log
cp common.log common.log.diff
grep "ERROR" DIFFERENCE.log
if ; then
echo "1" >... (6 Replies)
Hi all
I installed Debian and i have a few scripts that outputs what is happening.
The wierd part...after fresh install all works ok but after i open or edit Crontab it stops executing the scripts...and scripts runs manually so its not a problem with scripts...what happens is that i usually... (3 Replies)
Discussion started by: ro0t3d
3 Replies
LEARN ABOUT OSX
crontab
CRONTAB(1) BSD General Commands Manual CRONTAB(1)NAME
crontab -- maintain crontab files for individual users (V3)
SYNOPSIS
crontab [-u user] file
crontab [-u user] { -l | -r | -e }
DESCRIPTION
The crontab utility is the program used to install, deinstall or list the tables used to drive the cron(8) daemon in Vixie Cron. Each user
can have their own crontab, and they are not intended to be edited directly.
(Darwin note: Although cron(8) and crontab(5) are officially supported under Darwin, their functionality has been absorbed into launchd(8),
which provides a more flexible way of automatically executing commands. See launchctl(1) for more information.)
If the /usr/lib/cron/cron.allow file exists, then you must be listed therein in order to be allowed to use this command. If the
/usr/lib/cron/cron.allow file does not exist but the /usr/lib/cron/cron.deny file does exist, then you must not be listed in the
/usr/lib/cron/cron.deny file in order to use this command. If neither of these files exists, then depending on site-dependent configuration
parameters, only the super user will be allowed to use this command, or all users will be able to use this command. The format of these
files is one username per line, with no leading or trailing whitespace. Lines of other formats will be ignored, and so can be used for com-
ments.
The first form of this command is used to install a new crontab from some named file or standard input if the pseudo-filename '-' is given.
The following options are available:
-u Specify the name of the user whose crontab is to be tweaked. If this option is not given, crontab examines ``your'' crontab, i.e.,
the crontab of the person executing the command. Note that su(1) can confuse crontab and that if you are running inside of su(1) you
should always use the -u option for safety's sake.
-l Display the current crontab on standard output.
-r Remove the current crontab.
-e Edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. The specified editor must edit
the file in place; any editor that unlinks the file and recreates it cannot be used. After you exit from the editor, the modified
crontab will be installed automatically.
FILES
/usr/lib/cron/cron.allow
/usr/lib/cron/cron.deny
DIAGNOSTICS
A fairly informative usage message appears if you run it with a bad command line.
SEE ALSO crontab(5), compat(5), cron(8), launchctl(1)STANDARDS
The crontab command conforms to IEEE Std 1003.2 (``POSIX.2''). The new command syntax differs from previous versions of Vixie Cron, as well
as from the classic SVR3 syntax.
AUTHORS
Paul Vixie <paul@vix.com>
BSD December 29, 1993 BSD