[MonoDevelop] Mono and Crontab

Mark Devgood dirkroel at gmail.com
Fri Apr 2 05:28:16 EDT 2010


I am writing a simpler reminder system in Mono that will send emails at
particular times. 
My website is running on a Linux box and so I have Crontab at my disposal.

I first created a simple webpage, that spawned a new thread that would sleep
for 1 hour, and then kick of an email. It works for about 1-2 hours, then I
notice it dies for some reason. My solution MUST be 100% robust, so I don't
think this is the best option, as in addition my mono-server is currently
setup to restart daily.

Crontab does seem to be 100% robust, and so I am quite happy with this, and
I have found out how to send emails from it. There are a handful of posts of
how to start a mono app from cron, but what I want to do is the opposite,
create a cron job from my mono website. Is this possible?



-- 
View this message in context: http://n4.nabble.com/Mono-and-Crontab-tp1748964p1748964.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list