Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: CRON problems< Next Oldest | Next Newest >
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: May 04 2005,02:17 QUOTE

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
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: May 04 2005,03:24 QUOTE

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.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
nbx909 Offline





Group: Members
Posts: 19
Joined: May 2005
Posted: May 04 2005,12:02 QUOTE

so go to aptget and type in apt-get install anacron ?
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: May 04 2005,17:24 QUOTE

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.
Back to top
Profile PM 
8 replies since May 03 2005,00:52 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: CRON problems

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code