in reply to Read file (cron)

cron is run as the user that created the cronjob.

But lots of things can go wrong here, not the least is the fact that you open a filehandle called TICKS but read the handle with <TICK>. But of course you say that the script actually runs when you test it out so that must not be it.

So beyond that.

Replies are listed 'Best First'.
Re: Re: Read file (cron)
by Anonymous Monk on Jul 04, 2002 at 02:10 UTC
    Sorry, that was a typo. It should be TICKS throughout. The sequence of events that generate the file are definetly finished before my cron job starts. How do I find out what UID the cron job was created versus what UID the script is run as?

    I'm positive that my cron job is running. I have it print out messages at different points in the program and i can view these in the /var/spool/mail files.