crond


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers crond
# 1  
Old 09-09-2004
Question crond

I noticed that I do not have the crond daemon in my AIX box. I need to create a backup script to run nightly. Where do I find this daemon?

Thanks
# 2  
Old 09-14-2004
you proberly do have any cron job schedule that the reason cron deamon is not running.

crond starts automatically, when there is a cron job in crontab.
To list jobs in crontab issue this command
Code:
crontab -l

to schedule job to run at 3:10am issue command
Code:
crontab -e

and then add a line, something like:
Code:
10 3 * * * /path_to your_backup_script

cron deamon lives in /usr/sbin/cron but this could be different on your system. crond will start automatically once a job has been schedule.

To find where your cron deamon lives issus command
Code:
find / -name cron 2>/dev/null


Last edited by Yogesh Sawant; 02-27-2010 at 01:17 PM.. Reason: added code tags
 
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

crond: Authentication token is no longer valid; new one required.

Hi can any one please help me with this there are some cron jobs running on one of production servers i noticed the jobs are not running for long time, when i checked the logs i founf this message, information form the server # chage -l root Minimum: 0 Maximum: 99999... (2 Replies)
Discussion started by: robo
2 Replies

2. UNIX for Dummies Questions & Answers

crond not work after writing to cron log?

Yesterday I was testing out some cron commands and when i was check the /var/log/cron with vi editor I accidentally did :wq instead. Since then the log has not updated and I'm assuming no cronjob is running because looking at the log there's activities everyday there's some default stuff that... (5 Replies)
Discussion started by: orionoreo
5 Replies

3. Red Hat

/usr/sbin/crond: can't lock /var/run/crond.pid,

please tell pre-requisite steps to activate cron. i activated the cron but it not executing the script which i set in crontab entry.through root user i passed the service crond start it get start.but when i go to etc/init.d and passed crond stop command.it gets crond: can't lock /var/run/crond.pid,... (2 Replies)
Discussion started by: umair
2 Replies

4. Red Hat

redhat 5.2 tikanga crond running but not reading crontab file

Issue:crond is running, can even restart it and /var/log/cron shows it starting. The /etc/crontab file is correct as compared to another machine. I set the crontab file to enter a datestamp into a file under /tmp every minute. Thing is, the crontab file is not being read or cron is not working... (12 Replies)
Discussion started by: robjmarquez
12 Replies
Login or Register to Ask a Question