1834829 Members
1914 Online
110070 Solutions
New Discussion

Re: CRON

 
Deepu Chakravarty
Regular Advisor

CRON

How to activate cron process ?
5 REPLIES 5
RAC_1
Honored Contributor

Re: CRON

You need to start with man cron.

cron runs as daemon and runs scheduled processes. You schedule process as follows.

crontab -e and put entries in cron table.
A user needs to have permission to run cron. Which is controlled by /var/adm/cron/cron.allow file.

Anil
There is no substitute to HARDWORK
Jean-Luc Oudart
Honored Contributor

Re: CRON

cron is part of the startup scripts
Check that in /etc/rc.config.d/cron you have CRON=1

man cron

check also for cron.allow or cron.deny

Regards,
Jean-Luc
fiat lux
John Carr_2
Honored Contributor

Re: CRON

hi

if you have edited a cronfile manually then

cron cronfile

this will activate it , to check what is activated

crontab -l

John.
Geoff Wild
Honored Contributor

Re: CRON

Here's some generic info on cron:

http://www.ussg.iu.edu/usail/automation/cron.html

To edit cron: crontab -e

or: crontab -l > cronfile

Then vi cronfile

Whne done: crontab cronfile

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
KapilRaj
Honored Contributor

Re: CRON

Do you want more assistance ?

Kaps
Nothing is impossible