Apps :: CRON problems



I didn't even know that cron was installed into DSL..

There is a symlink in /etc/apm/event.d called anacron,
but it goes nowhere..
( links to itself in /KNOPPIX/etc/apm/event.d/anacron )

You could use apt-get to install anacron.

[ using locate, I could find anacron.. there was no cron , or crond to be found ]

73
ke4nt

That's right. DSL has no cron installed.

I'm sorry I didn't make myself clearer.

:D That symlink is another 80 bytes toward another feature after it's removed.

-J.P.

so go to aptget and type in apt-get install anacron ?
Quote (nbx909 @ May 02 2005,20:52)
When i try to run cron i get....
cron: can't lock /var/run/crond.pid, otherpid may be 592: Resource temporarily unavailable
what is the problem...
all i want to do is have ssh, monkey, and ftp to start up when i start up my computer...

Well, it looks to me like your problem isn't the lack of cron.  From your error message, it looks like you at least tried to install cron.  If you hadn't the error you got about the PID would not have happened.

Did you try running cron as root?

sudo /etc/init.d/cron start

Is cron running already?

ps -ax (look for the cron process)

Did you have your crontab file set up?  I used

export VISUAL=beaver
crontab -e


to setup the crontab and crontab -l to view it.

There was a discussion about cron here that might be of some help as well if it didn't load correctly for you.  The example crontab there is also a neat way to make sure that cron is running correctly.


original here.