|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
| Sponsored Links | ||
|
|
|
|||
|
Quote:
|
|
||||
|
. ~/.profile ;
. Execute file in current environment ~ Home directory of current user. ; command separator 2>&1 File descriptor 2 (stderr) is to be opened for writing as a duplicate of file descriptor 1 (stdout) The stderr displays are written in the same file as stdout. Jean-Pierre. |
|
|||
|
Quote:
![]() Instead provide the script to be executed via cron the needed environment variables. With inclusion of .$HOME/.profile all that is not needed by the script is set to the environment. |
|
|||
|
Quote:
THANKS! ![]() |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cron not working | manna | UNIX for Dummies Questions & Answers | 1 | 01-10-2008 02:04 PM |
| Cron job not working | dkranes | UNIX for Dummies Questions & Answers | 5 | 10-26-2007 12:01 PM |
| Cron not working? | christo16 | UNIX for Dummies Questions & Answers | 5 | 03-09-2007 02:55 AM |
| cron not working | DaleCabell | UNIX for Dummies Questions & Answers | 1 | 07-28-2006 08:16 PM |
| CRON - How to tell it's working? | jaffy1229 | UNIX for Dummies Questions & Answers | 7 | 04-15-2002 01:09 PM |