Sponsored Content
Top Forums Shell Programming and Scripting How to schedule my script without crontab Post 302323595 by vbe on Monday 8th of June 2009 11:49:52 AM
Old 06-08-2009
Quote:
Originally Posted by vidyadhar85
use at command
for more info refer man page of at
But then again, you could find yourself not in at.allow or in at.deny (I dont know for linux...)

And Phi01, yes you got it right - you can use at in a way the submitted job reschedules itself...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Crontab schedule

I have the following crontab entry. 0,30 00-16 * * * This job runs every 30 minutes between the hours of 12:00AM and 4:00PM. How can I have it stop at 4:30PM instead? Thank you, David (3 Replies)
Discussion started by: dkranes
3 Replies

2. UNIX for Dummies Questions & Answers

crontab problem - wrong schedule

i have set the below one in cronta, expecting that it would run every fourth saturday for Jan, Apr, Jul and Oct, but it comes out that it run everyday between 21 to 27. Please help!! 00 01 21-27 1,4,7,10 6 my_job (1 Reply)
Discussion started by: boydunshout
1 Replies

3. Shell Programming and Scripting

Schedule a job using Crontab

I would like to execute my script at 17.30 and 23.00 using crontab, could anybody help me out!! Thanks in Advance!! (1 Reply)
Discussion started by: jatanig
1 Replies

4. Shell Programming and Scripting

Unix Crontab schedule

Hi, I want schedule a script with fowllowing days. The crontab and schedule to run every 2 hours from Monday to Saturday at noon. (1 Reply)
Discussion started by: koti_rama
1 Replies

5. Shell Programming and Scripting

Crontab schedule

Hi, I have a script which will query the DB and added to crontab at 1,2,6,7 AM everyday and sends a email if count is 0. Now the problem is, if crontab is disabled it doesn't sends a mail. Please tell me how can I handle this situation in the script. (2 Replies)
Discussion started by: sandy1028
2 Replies

6. UNIX for Advanced & Expert Users

Schedule a Crontab

All, I'm a newbie with crontab and I need your help with schedule a cold-backup running every Sunday at 7am except 1st of the month. Thank you so much. (2 Replies)
Discussion started by: hanie123
2 Replies

7. Shell Programming and Scripting

How to schedule a script in crontab.

Hi, My script is in $home/bin/sample.sh. I want to run the script for 3times a day, first execution will be at 08:00 am. second execution will be at 16:00 pm third will be at 23:59 pm. what will be the entry with this requirement?? (1 Reply)
Discussion started by: shrima.pratima
1 Replies

8. Shell Programming and Scripting

Crontab schedule

Hi all, I would like to schedule a crontab script, which should run From 8pm Thursday to 2am Friday and it should run every 10 minutes. I have put a script like below, is it the correct one. 10 01,02,20,21,22,23,00 * * 4-5 /u01/app/test.ksh Any other options available to schedule the same... (6 Replies)
Discussion started by: sid2013
6 Replies

9. Shell Programming and Scripting

How to schedule crontab?

Hi All, How to schedule crontab on all day except sunday and monday means from tuesday to saturday at 06:00AM. (3 Replies)
Discussion started by: Riverstone
3 Replies

10. Shell Programming and Scripting

Schedule a shell script without crontab every Wednesday at 10 AM

HI Guys I need one shell script to be scheduled to run one shell script to be executed automatically every Wednesday at 10 AM Without crontab and "at" command.. Could you provide your suggestions ? Thanks and Regards kshitij Kulshreshtha (6 Replies)
Discussion started by: kshitij
6 Replies
QMOD(1) 						   Sun Grid Engine User Commands						   QMOD(1)

NAME
qmod - modify a Sun Grid Engine queue and running job SYNTAX
qmod [ options ] [ wc_job_range_list | wc_queue_list ] DESCRIPTION
Qmod enables users classified as owners (see queue_conf(5) for details) of a workstation to modify the state of Sun Grid Engine queues for his/her machine as well as the state of his/her own jobs. A manager/operator or root can execute qmod for any queue and job in a cluster but only from administrative hosts. Find additional information concerning wc_queue_list and wc_job_list in sge_types(1). OPTIONS
-c Note: Deprecated, may be removed in future release. Please use the -cj or -cq switch instead. Clears the error state of the specified jobs(s)/queue(s). -cj Clears the error state of the specified jobs(s). -cq Clears the error state of the specified queue(s). -d Disables the queue(s), i.e. no further jobs are dispatched to disabled queues while jobs already executing in these queues are allowed to finish. -e Enables the queue(s). -f Force the modification action for the queue despite the apparent current state of the queue. For example if a queue appears to be suspended but the job execution seems to be continuing the manager/operator can force a suspend operation which will send a SIGSTOP to the jobs. In any case, the queue or job status will be set even if the sge_execd(8) controlling the queues/jobs cannot be reached. Requires manager/operator privileges. -help Prints a listing of all options. -r Note: Deprecated, may be removed in future release. Please use the -rj or -rq switch instead. If applied to queues, reschedules all jobs currently running in this queue. If applied to running jobs, reschedules the jobs. Requires root or manager privileges. In order for a job to be rescheduled, it or the queue in which it is executing must have the rerun flag activated. (See -r option in the qsub(1) man page and the rerun option in the queue_conf(5) man page for more informa- tion.) Additional restrictions apply for parallel and checkpointing jobs. (See the reschedule_unknown description in the sge_conf(5) man page for details). -rj If applied to running jobs, reschedules the jobs. Requires root or manager privileges. -rq If applied to queues, reschedules all jobs currently running in this queue. Requires root or manager privileges. -s Note: Deprecated, may be removed in future release. Please use the -sj or -sq switch instead. If applied to queues, suspends the queues and any jobs which might be active. If applied to running jobs, suspends the jobs. -sj If applied to running jobs, suspends the jobs. If a job is both suspended explicitly and via suspension of its queue, a following unsuspend of the queue will not release the suspension state on the job. -sq If applied to queues, suspends the queues and any jobs which might be active. -us Note: Deprecated, may be removed in future release. Please use the -usj or -usq switch instead. If applied to queues, unsuspends the queues and any jobs which might be active. If applied to jobs, unsuspends the jobs. -usj If applied to jobs, unsuspends the jobs. If a job is both suspended explicitly and via suspension of its queue, a following unsus- pend of the queue will not release the suspension state on the job. -usq If applied to queues, unsuspends the queues and any jobs which might be active. ENVIRONMENTAL VARIABLES
SGE_ROOT Specifies the location of the Sun Grid Engine standard configuration files. SGE_CELL If set, specifies the default Sun Grid Engine cell. To address a Sun Grid Engine cell qmod uses (in the order of prece- dence): The name of the cell specified in the environment variable SGE_CELL, if it is set. The name of the default cell, i.e. default. SGE_DEBUG_LEVEL If set, specifies that debug information should be written to stderr. In addition the level of detail in which debug infor- mation is generated is defined. SGE_QMASTER_PORT If set, specifies the tcp port on which sge_qmaster(8) is expected to listen for communication requests. Most installations will use a services map entry for the service "sge_qmaster" instead to define that port. FILES
<sge_root>/<cell>/common/act_qmaster Sun Grid Engine master host file SEE ALSO
sge_intro(1), sge_ckpt(1), qstat(1), queue_conf(5), sge_execd(8), sge_types(1). COPYRIGHT
See sge_intro(1) for a full statement of rights and permissions. SGE 6.2u5 $Date$ QMOD(1)
All times are GMT -4. The time now is 09:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy