Hi,

On Wed, Jun 18, 2008 at 08:03:45AM -0700, Joel Gonzalez wrote:
> I need to executed a binary process.
> 
> This is my entrie in crontab for root
> 
> 53 9 * * * txalarm -f /var/scp/nms/txalarm.log > /var/scp/nms/cron.log 
> #Txalarm

        Starting binaries via cron without specifying full path might be
        the issue, I think. Cron knows nothing about your PATH
        environment variable. Check also the (execution) rights of
        `txalarm`. If it is script, check the correct path to
        interpretter defined on the first line. 

        There might be other issues stem from the `txalarm` code itself. 

        OT: you might also benefit from redirecting stderr to the log
        file, since cron wont inform you (root) about the failures
        during `txalarm` execution unless it finishes (once a day?).

        /j.


> 
> The txalarm is a monitor process to write in a specified file log.
> 
> This is the /var/cron/log entrie
> 
> >  CMD: txalarm -f /var/scp/nms/txalarm.log > /var/scp/nms/cron.log #Txalarm
> >  root 8472 c mié jun 18 09:53:00 2008
> <  root 8472 c mié jun 18 09:53:00 2008 rc=1
> 
> But the process is not executed, How i do see which is the error? 
> 
> Thanks!!
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]


        /Jan Friedel <jf (at) Sun.com>
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to