|
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
|