Our Admin is out and I am trying to trouble shoot a bigger problem so I wrote a simple script that just starts a connection. I am trying to execute it from root’s cron. It executes fine when I just execute the script from the command line. I saw all the stuff about setting the environment variables, but then read that if you su – hci those should be set? Can anyone tell me what’s going on here? Any help would be appreciated as I have been fighting with this for some time now.
Cron entry
35 12 * * * 1,2,3,4,5 su – hci “-c /cloverleaf/qdx5.4.1/integrator/scripts/start_cer_law_usage”
Error message in root’s mail
Subject: Cron
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
/bin/sh: line 1: 1,2,3,4,5: command not found
Thanks,
Tim