Sounds like the shell that is running the rate.sh doesn't have the variable
set for your 99.08 value. Where is that variable set, in the rate.sh file?
If so, can you post the rate.sh here so we can look at it?

Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four


On Wed, Mar 11, 2009 at 19:01, Nelson Serafica <[email protected]> wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I just created a script that when run, it will output the ff:
>
> [r...@smtp01 intigrix]# /var/intigrix/rate.sh > /var/intigrix/rates.txt
> [r...@smtp01 intigrix]# cat rates.txt
> 0,,99.08,0,OK
>
> 99.08 is a variable while the rest including 0 is a fixed values.
>
> The problem is when I already put it in crontab, it only display the ff:
>
> 0,,,0,OK
>
> The 99.08 is missing. My entry in crontab is the ff:
>
> */1 * * * * /var/intigrix/rate.sh > /var/intigrix/rates.txt
>
> Is there a limitation in cron daemon? Just remember that when I do the
> commands in shell, it is ok but when I put it in cron, it has no values.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkm4XwQACgkQUZICHAVQ58rWewCeKGOUehuV8CuFzCqudKKkcLJh
> 60MAni4OpVY5+YKrxhPCUlW+Fw8TV+SN
> =7AWu
> -----END PGP SIGNATURE-----
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to