Sponsored Content
Top Forums UNIX for Dummies Questions & Answers temporarily stop cron services Post 59800 by legato on Friday 31st of December 2004 04:07:05 AM
Old 12-31-2004
Data temporarily stop cron services

hi can i know what is the command and in which directory to
temporarily stop the cron service of my server?
here is my server information
thanks
SunOS statsfs07 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-4
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

cron: try script 4 times then send mail and stop

Hi! I have a simple script i call, and i use CRON to run the script daily between 7 and 8 o'clock. The cron runs 4 times a day between 7 and 8. The code is simple: if <script ran successfully> do something else try again later, with the next time cron runs. BUT If the script failed for... (1 Reply)
Discussion started by: bash100
1 Replies

2. UNIX for Dummies Questions & Answers

Starting & Stop print services in Unix

Hi There Kindly inform me on how to start and stop the print services in Unix from the command line. (2 Replies)
Discussion started by: esh
2 Replies

3. Shell Programming and Scripting

Services Start & stop scripts--help required

Dear All, Pls find my scripts for Agent services strat & stop. EAMSROOT=/opt/panaces export EAMSROOT cd $EAMSROOT nohup ./OracleAgent.sh start & nohup ./PFRAgent.sh start & nohup ./PFR.sh start & nohup ./SolarisOSAgent.sh start & exit 0 EAMSROOT=/opt/panaces export EAMSROOT cd... (0 Replies)
Discussion started by: starnaresh
0 Replies

4. Linux

Why service (start|stop) can not be called from cron?

Hi, When I googled, I came to know that I can not call the command "service <service-name> start" from cron, insted I have to specify path to the service-name. I wanted to know the reason. Thanks, Hansini (3 Replies)
Discussion started by: hansini
3 Replies

5. Shell Programming and Scripting

Cron VPN Client start/scp/stop

Hi, Anyone can help me on how my script will run on crontab, When I manually run my script, it work. But when I put in cron didn't work. #crontab schedule 00 16 * * * /home/scriptdir/myscript.sh # myscript.sh #!/bin/bash echo "mypassword"| sudo -S /etc/init.d/vpnclient_init start cd... (2 Replies)
Discussion started by: fspalero
2 Replies

6. UNIX for Dummies Questions & Answers

Is there a way to temporarily increase the priority of cron's batch queue?

I run an application where some component periodically submits jobs into cron's batch queue via the 'batch' command. Each of these jobs perfoms a query to retrieve some data from a database, builds up an openoffice document with that data, and submits it to a headless openoffice server to have... (3 Replies)
Discussion started by: jsandeo
3 Replies

7. Shell Programming and Scripting

Command to stop all the cron jobs

Hi All, Please provide the command to stop all the cron jobs. Thanks in Advance Regards, Sindu (2 Replies)
Discussion started by: indira_s
2 Replies

8. Solaris

How to stop a cron job?

Hi Guys. can someone please tell me how to stop a running cron job without editing the cron file? I know you have to find the process ID of the command, but I have no idea of how to do that. I will really appreciate it . Thanks (3 Replies)
Discussion started by: cjashu
3 Replies

9. Shell Programming and Scripting

Stop Window Services with Perl Script

Hello All I am getting an issue which I want to share will all you guys There is one windiows sercice running on my machine names Network Provisioning Service. I developed the perl script which do $service='Network Provisioning Service'; system('net stop $service'); When I manually... (1 Reply)
Discussion started by: adisky123
1 Replies

10. Shell Programming and Scripting

To stop execution in cron

hi guys i have a question my cron should start executing minute but it sould stop execute only i have tried tis 10 * * * * /home/sample.sh >> /data/band/cron_$(date+|%Y|m|d).log (2 Replies)
Discussion started by: azherkn3
2 Replies
CRON(8) 						      System Manager's Manual							   CRON(8)

NAME
cron - daemon to execute scheduled commands (Vixie Cron) SYNOPSIS
cron DESCRIPTION
Cron should be started from /etc/rc or /etc/rc.local. It will return immediately, so you don't need to start it with '&'. Cron searches /var/spool/cron for crontab files which are named after accounts in /etc/passwd; crontabs found are loaded into memory. Cron also searches for /etc/crontab and the files in the /etc/cron.d/ directory, which are in a different format (see crontab(5)). Cron then wakes up every minute, examining all stored crontabs, checking each command to see if it should be run in the current minute. When execut- ing commands, any output is mailed to the owner of the crontab (or to the user named in the MAILTO environment variable in the crontab, if such exists). Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on /etc/crontab) has changed, and if it has, cron will then examine the modtime on all crontabs and reload those which have changed. Thus cron need not be restarted whenever a crontab file is modified. Note that the Crontab(1) command updates the modtime of the spool directory whenever it changes a crontab. SEE ALSO
crontab(1), crontab(5) AUTHOR
Paul Vixie <paul@vix.com> 4th Berkeley Distribution 20 December 1993 CRON(8)
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy