Running a Python script from crontab
Astley Le Jasper
Astley.lejasper at gmail.com
Wed Dec 3 19:33:57 CET 2008
On 3 Dec, 16:41, Philip Semanchuk <phi... at semanchuk.com> wrote:
> On Dec 3, 2008, at 10:29 AM, Astley Le Jasper wrote:
> > I've included a switch to include or exclude theloggingto console.
> > Whenloggingonly to file, the script runs fine.
> > Of course, I still don't understand whyduallogging, and specifically
> > to the console, causes a problem and if anyone has any comments about
> > thedualoutputloggingcode above then I'd still be happy to hear
> > about it.
> Trying to write non-ASCII characters perchance?
Errmmm ... that's kind of spoookey. I using UTF-8 encoding as I have a
lot of European language characters. But would that cause a problem
when running from crontab but not in the terminal?
Go on then ... spill the beans.
More information about the Python-list