Am Freitag, den 26.05.2006, 08:32 +0100 schrieb Alan Gauld:
>
> > IOError: [Errno 2] No such file or directory: ' emmssg.txt'
>
> >
> > the emmssg.txt file is in the /root/script directory so i
> > don't know why it cant find it.
>
> The file may be there but crontab isn't. It runs the program
> IOError: [Errno 2] No such file or directory: ' emmssg.txt'
>
> the emmssg.txt file is in the /root/script directory so i
> don't know why it cant find it.
The file may be there but crontab isn't. It runs the program
as root and root's home directory is /.
For this kind of thing you need to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel McQuay wrote, On 05/25/2006 09:24 PM:
> Traceback (most recent call last):
> File "/root/scripts/boxster_school_smtp.py", line 19, in ?
>mssg = open('mssg.txt', 'r').read()
> IOError: [Errno 2] No such file or directory: ' emmssg.txt'
>
Ri
hello list,i am having a problem getting crontab to execute a
python script. the script works because i can execute it by using:
python boxster_school_smtp.py from a command line. i put a line in
crontab that look like this:
i know this is not a linux mailing list but any help would be appreciated.