Here's something else you should consider: Look at the source code of
pycron. I just downloaded it. Much to my surprise, this is implemented
in about 115 lines of code.
In particular, look at the run() function. You should try adding a
try-except block around the system call to get a hint as to where the
problem lies:
try:
os.system('start ' + command)
except:
print "Unexpected error to catch:",
sys.exc_info()[0]
I've been trying to use it myself (on a Mac) since I saw you mention it
on the mailing list. I'm also having problems using pycron. Email me
directly if you figure out the problem. I'll do the same for you.
Gabriel Genellina wrote:
En Mon, 19 Mar 2007 16:00:04 -0300, Al <[EMAIL PROTECTED]> escribió:
I looked in the pycron.log file, and I noticed that for the entires of
my new job, I see "rc=4" and the end of each line. All other jobs have
"rc=0" at the end of the line. I assume then, that rc=4 is a reference
to an error code of some kind, but there is no information on this in
the readme.txt, at the pycron website, or here in groups.
Does anyone know how to troubleshhot this? Thanks in advance.
Contacting the author?
--
Shane Geiger
IT Director
National Council on Economic Education
[EMAIL PROTECTED] | 402-438-8958 | http://www.ncee.net
Leading the Campaign for Economic and Financial Literacy
begin:vcard
fn:Shane Geiger
n:Geiger;Shane
org:National Council on Economic Education (NCEE)
adr:Suite 215;;201 N. 8th Street;Lincoln;NE;68508;United States
email;internet:[EMAIL PROTECTED]
title:IT Director
tel;work:402-438-8958
x-mozilla-html:FALSE
url:http://www.ncee.net
version:2.1
end:vcard
--
http://mail.python.org/mailman/listinfo/python-list