disable crontab


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers disable crontab
# 1  
Old 11-01-2009
disable crontab

every last sunday of each month, i recycle my application servers btw 1am - 2am.

before i recycle my apps servers, i have to login to each user to:

crontab -l > user1.crontab
crontab -l > user2.crontab
crontab -l > user3.crontab

when all my apps started, i have to cat user1.crontab and crontab -e to edit each user.

is it a way to disable user1, user2 and user3 crontab btwn 1-2am ?
# 2  
Old 11-01-2009
Use a root cron job to put the usernames into cron.deny at 1am and remove them again at 2am?
# 3  
Old 11-02-2009
I am curious: but what has crontab to do with a reboot? At least on AIX a shutdown doesn't change anything in crontab ... what do you do after the reboots - starting all the user cronjobs ?

Kind regards
zxmaus
# 4  
Old 11-02-2009
not reboot; just shutting down all third party apps for cold backup. during 1-2am, i don't want user1,2,3 to kick off its cron jobs.
# 5  
Old 11-03-2009
Why not modify the relevant cronjobs so that they look for the existance of a file such as /etc/nocronjobs? While that file exists, the cronjobs do not run.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

2. Solaris

How to disable sendmail???

Hi friends, I just did a fresh installation of Solaris 10 as I had some problems with UFS, which seems that ZFS has solved. Now the problem is that sendmail is constantly printing error messages on my screen, which is really irritating me, as I am a novice user, and don't intend to use and learn... (5 Replies)
Discussion started by: gabam
5 Replies

3. Solaris

How disable alom?

hello guys.... I'm newbie in solaris server / os, anybody know how disable alom server v240. thank u (9 Replies)
Discussion started by: yanto85
9 Replies

4. UNIX for Dummies Questions & Answers

crontab: disable/enable

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

5. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

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

6. Shell Programming and Scripting

Firewall disable

hello i am running an application whicks /proc/net/ip_tables_name and then give firewall ruuning error hence i have to completely remove my firewall from fedora ... i have already removed iptables using yum remove iptables... also i have to know how a file gets stored in the proc/net... (1 Reply)
Discussion started by: sudeepiit
1 Replies

7. Solaris

How to disable SU right

Anyone know how to disable SU right for a particular user in Solaris 8 (4 Replies)
Discussion started by: civic2005
4 Replies

8. AIX

disable rsh

Dear Frndz, Could you please help me How to disable rsh login in aix. Also, I want to know how to open a port for particular application in the serevr side in Aix. (3 Replies)
Discussion started by: sriram.s
3 Replies

9. UNIX for Dummies Questions & Answers

disable su

i have this unix version "unix v/386" and i want to disable su kindly help me (2 Replies)
Discussion started by: sak900354
2 Replies

10. UNIX for Dummies Questions & Answers

Disable X

Im sure this is somthing easy to do but i just can not figure it out where and how would i take X out of the boot for hp ux 11 i looked in the man's and nothing so maybe sombody could throw me a bone... thanks BB (8 Replies)
Discussion started by: bbutler3295
8 Replies
Login or Register to Ask a Question