Yes, that is exactly what I need, how do I parse it and make a timestamp. Pseudo code is alright. I already created a function that can extract the paramters list / ranges / steppings / wildcards into arrays of numbers. But how do i make a timestamp from that which is the next availablue run datetime.
Main Topics
Browse All Topics





by: ai_ja_naiPosted on 2009-03-11 at 07:42:26ID: 23857817
if you've got the cronline as a string, you can parse it and build a timestamp. I assume that you know the meaning of symbols (in case, it's minute hour dayofmonth month dayofweek username cmd; * means no parameter).
Or maybe I did not understand and you are looking for a library to get cronlines from crontab, aren't you?