![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| crontab problem | DebianJ | UNIX for Advanced & Expert Users | 11 | 05-22-2009 01:56 AM |
| Crontab problem | jess_t03 | AIX | 3 | 05-22-2009 01:42 AM |
| problem with crontab | cleansing_flame | UNIX for Dummies Questions & Answers | 1 | 01-29-2008 08:02 PM |
| Problem with crontab | cleansing_flame | UNIX for Dummies Questions & Answers | 3 | 01-14-2008 04:03 PM |
| Problem with Crontab | Zak | UNIX for Dummies Questions & Answers | 2 | 12-20-2005 05:44 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Problem with crontab
Hi guys!
I have a problem with my crontab. I made a script named expsa.sh, but I can not execute it on crontab: 00 11 * * * /sa/expsa.sh The strange thing is that i can do it by using `at `: at -m 1100 at> /sa/expsa.sh it works! What can i do for doing the first one? Thanks. By |
|
|||||
|
The only thing I could find on that error was an old post in the IT Resource Center forums, and it looks like the only solution they came up with was that the OP should be using an absolute pathname instead of a relative one (e.g. /usr/local/someFile rather than just someFile), so I'm not sure what's wrong with the way you have it...
|
|
||||
|
crons PATH env variable can be set in /etc/default/cron on solaris.
if you dont want to use absolute paths in your script, makesure you specify the PATH env variable in yoru script befor you run any commands. |
|
|||||
|
From at(1)
Quote:
Quote:
Scripts that run from cron should not depend on the environment. |
![]() |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|