>>>>I need to implement a schedule-based process using a CRON. Anyone know of a function or any code where I can pass in a CRON and get back a bool if it's time to run?
>>>
>>>I thought CRON was a Unix daemon for task scheduling. What do you mean by 'pass in a CRON' ?
>>
>>It is a unix thing but for some reason we're using it here in our C# apps. So I have to use it.
>>
>>I want to pass in a CRON expression, ie "* * * * * " or something like it, and get back a bool if the expression evaluates to DateTime.Now or past DateTime.Now.
>
>Take a look at Quartz.NET -
http://quartznet.sourceforge.net/ - it's an open-source library that makes it really easy to schedule tasks to be run. The format you're using looks very similar to what Quartz.NET uses so if you're lucky they're compatible. I've used this library for a few projects and it's worked really nicely.
If it has millisecond resolution (as stated) then it won't be compatible with the UNIX CRON format....
But I still don't really understand what Kevin needs to do when he's 'de-coded' the cron table info....