1846087 Members
3823 Online
110253 Solutions
New Discussion

Re: Cron error

 
SOLVED
Go to solution
j773303
Super Advisor

Cron error

Can't set cron job.
cron daemon isn't running with the ps command.
So, cron to start the cron daemon, and error
messge as below:

can't change directory to the crontab directory

Does anyone tell me what happend? Thanks
Hero
2 REPLIES 2
Rainer von Bongartz
Honored Contributor
Solution

Re: Cron error


Check the directory

/var/adm/cron

It must exist and have permissions

dr-xr-xr-x 2 bin bin 1024 Sep 18 08:22 cron

Regards
Rainer

He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
T G Manikandan
Honored Contributor

Re: Cron error

Yes the

/var/adm/cron should exist with proper permissions

The important thing is that make sure that the configuration file of cron

/etc/rc.config.d/cron

has
CRON=1
for startup

Then do a
/sbin/init.d/cron start

If you do not want cron to start make
CRON=0 in the configuration file

Revert