| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
crontab command
|
Original Message
|
Name: fatchoy
Date: November 26, 2002 at 20:39:07 Pacific
Subject: crontab command OS: hp ux 7.3.4 CPU/Ram: p166/64mb
|
Comment: Hi I face some difficulty when modify my existing cronfile and schedule a new job eg.(10 12 * * * cd /data/schedule; ./elpida_link > /data/schedule/elpida.log) After modify and saved the cronfile (vi cronfile) ,i issued a command "crontab cronfile" to submit the new cronfile to cron.
I wait and wait but it seem that the job didnt start at all Anyone can help to offer some advise. Thanks
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Jimbo
Date: November 26, 2002 at 22:43:09 Pacific
|
Reply: (edit)Make sure that the script is executable by the user trying to run it. Also, have a look at your cron log. Not sure where it's at on HPUX though... /var/cron/log ??? -jim
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: fatchoy
Date: November 26, 2002 at 23:51:52 Pacific
|
Reply: (edit)Hi jim How can i set the file so that the script is executable by the user trying to run it?How to set in cronfile?
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: Jimbo
Date: November 27, 2002 at 01:42:01 Pacific
|
Reply: (edit)cd to /data/schedule Make sure that elpida_link has execute permission by running ls -l. Use chmod to set execute permission. example: chmod 755 elpida_link Sets execute for all users. man chown and chmod for more info. -jim
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Unix Forum Home