-----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' > </snip> Right, but I don't think the CWD for cron is in /root. Try giving it an absolute path.
- -- Yi Qiang ([EMAIL PROTECTED]) Web: http://www.yiqiang.net Tel: (206) 661-8469 PGP: 0xB515564B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEdofJtXlIMrUVVksRAhZOAJ9Gr8RPjS37u7IEaLdZMJjawvxMDgCghTCm ub7rd1v+rrEAt2vTIpnwk4A= =xhDj -----END PGP SIGNATURE----- _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor