How to restart CRON file?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to restart CRON file?
# 1  
Old 03-31-2008
How to restart CRON file?

Hi
How can I restart the CRON manually?
Thanks
# 2  
Old 03-31-2008
Quote:
Originally Posted by biot
Hi
How can I restart the CRON manually?
Thanks
Hi,
You mean the daemon or one command in your crontab ? if its the daemon try 'kill -HUP' works on most unix flavor, if one command just re-schedule it or do a 'nohup cmd &'.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ftp bash script appends to file using cron instead of coping new file

I have a bash script that is running a mysql query and creating a csv file with a time stamp. It then uploads that to a ftp server. Everything works great when I manually run it. But then I have a cron job set to run every monday, wednesday and friday at 5am est. When the cron job runs, it... (7 Replies)
Discussion started by: akallenberger
7 Replies

2. UNIX for Dummies Questions & Answers

Execution problem with Cron: Script works manually but not w/Cron. Why?

Hello gurus, I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup is shown below: #!/bin/ksh db2... (3 Replies)
Discussion started by: okonita
3 Replies

3. Shell Programming and Scripting

Cron job - Need to run Cron every quarter at particular time

Hi, 1) If some job supposed to run on 1st of every month at 7 AM In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day? 2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct) And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies

4. Shell Programming and Scripting

Cron won't restart rsyslog

Howdy, I am nearly tearing my hair out as Cron isn't running a script that should work. I am interning for a company. Their rsyslog keeps track of traffic that gets past a firewall. It creates two files called pix.log and pix2.log. Every time something happens with the firewall, it adds to... (11 Replies)
Discussion started by: sstrahm001
11 Replies

5. Shell Programming and Scripting

restart process based on file

Hi all. I do have a script "startApp.sh" (app result is a file /opt/extract/appextract.txt) I have no problems with stopping app var1=`ps -ef | grep -v grep | grep MyApp | awk '{print $2}'` kill -9 $var1 What I want to achieve is: I start app, app is doing some extraction, after... (11 Replies)
Discussion started by: e-l-diablo
11 Replies

6. AIX

AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log

Hi, I can use 'crontabs –e' and do all the scheduling I like. However I would like to auto send myself just the cronjobs logs that fail. That is to say the PIDs that fail and the related lines with those PID’s only. (Not the full set of logs) Has anyone done this work? Or does an AIX 5.3 tool... (0 Replies)
Discussion started by: Keith Johnson
0 Replies

7. Linux

How do cron restart on unix Tru64?

hi all, How do cron restart on unix Tru64? because don't run my cron jobs. few days age it's running fine. I did below steps: 1. cd /usr/sbin 2. cron stop responce: "! Cron is already running. Exiting... Tue Nov 27 14:38:00 2007" 3. cron start responce: "! Cron is already running.... (2 Replies)
Discussion started by: Tlg13team
2 Replies

8. Linux

How do cron restart on unix Tru64?

hi all, How do cron restart on unix Tru64? because don't run my cron jobs. few days age it's running fine. I did below steps: 1. cd /usr/sbin 2. cron stop response: "! Cron is already running. Exiting... Tue Nov 27 14:38:00 2007" 3. cron start response: "! Cron is already running.... (2 Replies)
Discussion started by: Tlg13team
2 Replies

9. UNIX for Dummies Questions & Answers

How to restart a CRON

If my cron has recieved a SIGTERM. How do I restart the cron? (7 Replies)
Discussion started by: ddrivera
7 Replies
Login or Register to Ask a Question