05-23-2012
Yeah, that sequence sets the EDITOR var that crontab read. It would be good idea to include the first two lines in /etc/profile if you use bash or ksh or /etc/.login if you csh so that the variable is set in any user login. Or you can set it in the .profile in your home directory if you want it just for your user.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I scheduled 2 Oracle jobs to run on IBM AIX 4.3.3 at
06:50 and 06:58 on 02/02/03 with the below syntax:
$ at 06:50 02/02/03 /orac/ora11/temp/sun_job1.sh
Job oracle.1044175800.a will be run at Sun Feb 2 06:50:00 2003.
$ at 06:58 02/02/03 /orac/ora11/temp/sun_job2.sh
Job... (1 Reply)
Discussion started by: ted
1 Replies
2. Shell Programming and Scripting
Hello,
I want to know about job scheduling utilities available in unix. It should not be responsible just for starting the job like in case of cron but should also be able to handle the execution of jobs.
Regards,
Ritesh (1 Reply)
Discussion started by: turlapaty
1 Replies
3. UNIX and Linux Applications
I am working on UNIX AIX system, with Oracle OS.
We are not supposed to use any tools to schedule our unix shell scripts.
Basically we have to make use of Oracle tables and Shell scripts to manage dependencies, restartability, scheduling, parallelizing,etc.
If anyone has worked/ is working... (1 Reply)
Discussion started by: singhabhijit
1 Replies
4. Shell Programming and Scripting
I am working on UNIX AIX system, with Oracle OS.
We are not supposed to use any tools to schedule our unix shell scripts.
Basically we have to make use of Oracle tables and Shell scripts to manage dependencies, restartability, scheduling, parallelizing,etc.
If anyone has worked/ is working... (4 Replies)
Discussion started by: singhabhijit
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to schedule a job through Autosys (in Linux server) to run on 1st day of every 3rd month(gap of 90 days). Please someone help me to achive my above requirement
Example:
Run the sample.sh on 01-Jan-2009, 01-Apr-2009, 01-Jul-2009, 01-Oct-2009.
Thanks in advance (4 Replies)
Discussion started by: apsprabhu
4 Replies
6. Shell Programming and Scripting
Hi All,
I have a script which is scheduled in the Cron. It runs every 10th and 40th min of an hour.The job has to run every 30min.
But, I do not want to have the 00:10 MST run every day.Is it possible to exclude that run from the schedule?Or any other way through which i can run my job every... (4 Replies)
Discussion started by: sparks
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have scheduled a job previously and was running fine,but due to some issue i have commented it.Now the issue was solved and i have scheduled as below in crontab.
30 2 * * * /u01/srcdata/CSA/holding/common/script/QPLR_RegValrao.sh PROD
Cron is running,but my job is not triggering.
... (1 Reply)
Discussion started by: mvennakula
1 Replies
8. Shell Programming and Scripting
Hi All,
I've been trying to schedule a job using the at command on Solaris 5.10 but i've been running into some issue. ( Not allowed to use cron :wall: )
I have a script that reads a logs file, does some iteration and cat's the output in an email .
## the o/p of /home/myscript.sh is : ... (2 Replies)
Discussion started by: Irishboy24
2 Replies
9. Shell Programming and Scripting
Hi,
I have scheduled a job using cron but the job is not getting triggred because of the following error.
line 5: /env/env_setup.sh: No such file or directory
But the file env_setup.sh is there in that location.
/scripts/env
-rwxrwxrwx 1 mysql mysql 974 Oct 24 10:41 env_setup.sh... (5 Replies)
Discussion started by: arijitsaha
5 Replies
10. Shell Programming and Scripting
Hi All,
I am new to unix and i have a task in front of me.
The code part is "android update sdk" . I need to crontab this process.
Hence i have written a script that runs the above command and sends a mail once the update is done. The problem with the automation is the installer asks for a... (5 Replies)
Discussion started by: Kashyap
5 Replies
LEARN ABOUT OPENSOLARIS
atrm
atrm(1) User Commands atrm(1)
NAME
atrm - remove jobs spooled by at or batch
SYNOPSIS
atrm [-afi] [ [job #] [user]...]
DESCRIPTION
The atrm utility removes delayed-execution jobs that were created with the at(1) command, but have not yet executed. The list of these jobs
and associated job numbers can be displayed by using atq(1).
atrm removes each job-number you specify, and/or all jobs belonging to the user you specify, provided that you own the indicated jobs.
You can only remove jobs belonging to other users if you have solaris.jobs.admin privileges.
OPTIONS
The following options are supported:
-a All. Removes all unexecuted jobs that were created by the current user. If invoked by the privileged user, the entire queue is
flushed.
-f Force. All information regarding the removal of the specified jobs is suppressed.
-i Interactive. atrm asks if a job should be removed. If the response is affirmative, the job is removed.
FILES
/var/spool/cron/atjobs Spool area for at jobs
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of atrm: LANG, LC_ALL, LC_COLLATE,
LC_CTYPE, LC_MESSAGES, and NLSPATH.
Affirmative responses are processed using the extended regular expression defined for the yesexpr keyword in the LC_MESSAGES category of
the user's locale. The locale specified in the LC_COLLATE category defines the behavior of ranges, equivalence classes, and multi-character
collating elements used in the expression defined for yesexpr. The locale specified in LC_CTYPE determines the locale for interpretation of
sequences of bytes of text data a characters, the behavior of character classes used in the expression defined for the yesexpr. See
locale(5)
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
at(1), atq(1), auths(1), cron(1M), auth_attr(4), attributes(5), environ(5), locale(5)
SunOS 5.11 16 Jul 2007 atrm(1)