![]() |
|
|
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 |
| Help with my weird script! | kdyzsa | Shell Programming and Scripting | 1 | 06-15-2008 11:39 PM |
| Odd .sh behavior in script | robertmcol | UNIX for Dummies Questions & Answers | 2 | 02-10-2008 10:22 AM |
| Weird rsync behavior | scotbuff | OS X (Apple) | 2 | 12-24-2007 06:05 PM |
| weird behavior of grep -P | pankai | Shell Programming and Scripting | 2 | 12-20-2007 05:38 PM |
| Weird behavior on a Sun Fire V120 running solaris 10. | jsandova | SUN Solaris | 2 | 10-05-2007 07:17 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Weird Behavior of a Script
ok, there's a script i'm working on written in shell programming. #!/bin/sh
this script is written to spit out the contents of certain variables inside of it so the output looks something like this: server01=89 server02=69 server03=89 server04=76 now, when i run this script from the command line, it outputs the expected results. however, when i run it through cron, the fields are missing. i get something like this: server01= server02= server03= server04= any idea what could be causing this? btw, in crontab, the script is set up to direct its output to a log file and it is in that log file that the fields are missing |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|