There are two issues i have,
1. with the cron job we do not have access to this on all the 16 servers(as per our business client)
2. i need to use at command, but it runs as scheduled jus once.
the at command, i am using is
at 0030 <$QDM_BIN_DIR/OBE_schedule.ksh
Please help me wiht this, i tried using "everyday" and "today" keywords along with at command but dint work too..
Hi yosasini,
Did you see/try the option I suggested on post #4?
@yohasini
Strongly advise that you ask for proper privileges to use cron. This task is not suitable for recursive "at". Maybe try asking the client System Administrators for the contents of at.allow and cron.allow relevant to your user ... and then suggest changes.
As others posted there is no logic in allowing "at" but not allowing "cron".
Ps. The keywords available to "at" are specific to your Operating System. What Operating System do you have?
Code:
uname -a
Quote:
Post #3
I had tried the cron job..it doesn't work
This suggests that you actually have privileges to use cron. Please post full detail and error messages (or perhaps blank entries in the cron log) to justify "it doesn't work".
Is this you first time using cron?
There is no rational reason to use "at" for this task.
Ps. Error messages from failed cron logs will often be found in unix mail for the user who owns that crontab.
how to run a command, such as "ls -l core" from one lpar to check multi lpars if core file exist?
or what way can do a command on all lpars from one lpar?
Thanks (1 Reply)
Hello, how can I show monday as first day of the week using cal command? I have read that it must be use -m parameter, but all I have is a display message like this:
cal: option requires and argument -- 'm'
Any help will be greatly appreciated
Regards. (5 Replies)
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
Hello,
I am trying to learn how to pass something more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
______________________________________________
${0##*/}
run... (0 Replies)
I know I can't schedule this in cron and would have to write a wrapper around my script and schedule it in cron ....but not sure how do to this?
How do I exclude Monday if the 2nd day of the month falls on a Monday?
Thanks.
I tried this:
0 0 2 * 0,2-6 command
And I know this doesnt... (2 Replies)