12-09-2009
I have seen this implimented with what were called "jobfiles" by the scripts in question. This was to enable testers to turn off each others cron jobs without having the necessary UNIX permissions. It worked like this: -
1) Cron job starts and looks for a "jobfile".
2) If found it looks for a command such as "Skip". This would cause it to clear its own crontab and exit.
Other commands such as "suspend [minutes]" or whatever can be implemented in the same way.
10 More Discussions You Might Find Interesting
1. Linux
I have a modem connect it to ttyS0 , in unix sco i know i can disable and enable the port , how can i do this , is there a command that will allow me to do this.
**** I'm running Redhat 9
*****External Usrobotics 56k
Thanks a lot guys (1 Reply)
Discussion started by: josramon
1 Replies
2. UNIX for Dummies Questions & Answers
hi
i got to shut down my server for the new year day. i am required to disable all cronjob temporarily. what is the command to do so?
after start up the server will the cron job run itself automatically or i gotta restart all again? (8 Replies)
Discussion started by: legato
8 Replies
3. Solaris
I would like to setup a Cron job to check weather X process is running or not. if it is not running then start that X process with a log message....
can any one help writing a script?
thanks (3 Replies)
Discussion started by: chandravadrevu
3 Replies
4. Solaris
Hi...
How do I enable SSH and disable telnet..
Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet?
Adel (15 Replies)
Discussion started by: ArabOracle.com
15 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I am not the unix person but have to disable cron job on the server
I typed crontab -l to list the job there is one job
then i tried crontab -e and got one result 100 ( i do not know what that means)
how can i disable the job to run i want to disable the job.
Please show me... (3 Replies)
Discussion started by: patdev
3 Replies
6. Shell Programming and Scripting
Hi All,
I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:(
Thanks,
Rico (1 Reply)
Discussion started by: carnegiex
1 Replies
7. UNIX for Dummies Questions & Answers
since i don't have root access, i have been doing:
crontab -l > /tmp/username.crontab
crontab -r
vi /tmp/username.crontab and copy page
crontab -e, and paste
sometimes, /tmp/username.crontab has more than 1 page, so i have to copy twice.
how do i copy all contents from... (2 Replies)
Discussion started by: tjmannonline
2 Replies
8. UNIX for Dummies Questions & Answers
How to enable and disable the auto mount option for USB devices.? (3 Replies)
Discussion started by: ungalnanban
3 Replies
9. HP-UX
hi everybody,
I can easily enable /disable the FTP service from SAM, how can I do this via command line? using inetd? how?
cheers,
messi (1 Reply)
Discussion started by: messi777
1 Replies
10. Infrastructure Monitoring
Hi @ all,
we are a non-profit educational organisation. Now my company wants to disable printers, when a room is not used.
I do a lot monitoring, using snmp. So I had the idea of disabling and enabling the printers by using snmp. After searching for hours, I only found some status-objects (ro)... (1 Reply)
Discussion started by: karls0
1 Replies