where is the txt file located in the system

On 1/25/12, Rajesh kumar <rkrajeshkuma...@gmail.com> wrote:
> Hi all,
>
>  I am trying to create a cronjob which calls hwinfo which echoes out to a
> txt file. If i run the code direclty from konsole its working but the same
> doesnt work in cron.
> When i open the file it shows its empty.
>
> My cronjob is
>
> * * * * * hwinfo --short > hardware
>
> if i read /var/log/message it shows that the command gets executed every
> minute but its not echoing any data out.
>
> Similarly i face the problem with lpstat and lpq commands
>
> Please Help
>
> --
> regards
> Rajesh Kumar. R.K
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>


-- 
Thanks
VJRGVN
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to