Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 11th, 2004, 06:19 AM
ads ads is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: India
Posts: 192 ads User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 12 m 27 sec
Reputation Power: 12
Help Running cron job

Hi,
I am using cron for first time.
I have added following lines /etc/crontab file

######

39 * * * * root echo "This command is run at one min past every hour"
39 * * * * root arp -e

###########

I am getting follwoing error :

######

crond: can't lock /var/run/crond.pid, otherpid may be 914: Resource temporarily unavailable

######

I have used follwoing command to check whether Cron is running :

#####

[zzzzzzz root]# ps aux | grep crond
root 914 0.0 0.2 1516 604 ? S Jan04 0:00 crond


#####

Any clue what's going wrong?
Help appreciated.

Reply With Quote
  #2  
Old January 13th, 2004, 04:31 AM
ads ads is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: India
Posts: 192 ads User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 12 m 27 sec
Reputation Power: 12
O.K.
No error now but thing does not work.
I have added two lines to /etc/crontab file as follows :

#####
03 15 * * * root date
03 15 * * * root arp -e
#####

I want to run "date" and "arp -e" at command prompt. I am on Linux machine.

As doc says no need to restart crond after editing crontab file.

Crond is running.
What's going wrong? Any clue?
Help appreciated.
Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > Help Running cron job

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap