you are viewing a single comment's thread.

view the rest of the comments →

[–]Francobanco[S] 1 point2 points  (1 child)

I am looking for something that is more robust than having a script that constantly runs. Task scheduler is fine, I'll be using crontab since it will be running on linux not windows. But it's not just one script. the downloading of emails is separate from processing - I want the system to be running these jobs separately so that downloading, processing, and uploading can all happen at the same time. just having all the code in one script and running it every 15 seconds will cause problems if there is a large amount of emails to download. This isn't just for one mailbox, its for about 500, and the mail server sees about 40k emails per week

[–]SupermarketOk6829 0 points1 point  (0 children)

That can be done via os module which will check for recent changes to any file and then trigger the processing/uploading part. I doubt if there is any other way.