[NTLUG:Discuss] crontab issue

Chris Cox cjcox at acm.org
Wed Mar 14 15:29:02 CDT 2007


Fred James wrote:
> All
> If I use a crontab entry such as
> 
> 42 * * * * su - username -c /home/username/program argument1 argument2 
> argument3 2> /tmp/errorfile
> 
> (1) errorfile will contain "stdin: is not a tty"
> (2) the arguments are ignored
> (3) the program attempts to run
> 
> This type/form of crontab entry works well on SGI IRIX, but I have not 
> been able to find the correct translation/syntax for Linux.  Thank you 
> in advance for any help you may be able to offer

Close stdin??

</dev/null

> Regards
> Fred James
> 
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
> 
> 




More information about the Discuss mailing list