i have no idea with it isn't running under the test account but runs right on time when i create the cronjob under root.can someone please help? thanks.
You might check /var/cron/log to make sure the command's executing. Cron jobs won't run if the account's password has been locked. Also, make sure you're using crontab -e to make changes vs hand editing them. Cron doesn't know about new crontabs files unless you restart the cron process. crontab -e kicks the cron process when you save your changes.
could not obtain latest contract from popen(3C): No such process
Got this error when starting a script from cron on Solaris10
Read a lot about it googling around.
Redirecting stdout and stderr to a file (exec 1>/tmp/loglog 2>&1) solved the problem as has been indicated by others; In my case the output was:
"tput: No value for $TERM and no -T specified"
My cron-activated script called another script that uses tput which of course can't do a thing without a TERM...
Which also explained why there was no problem running it manually.
So, it appears to be a bug in cron with handling the output of a script started by it.
If you don't want to or can't wait for patches, redirect stdout/stderr to a file, check the contents of it, solve the problem or, redirect them to /dev/null....
BTW, output on stdout and stderr both cause the same error.