How can I retrieve the next run time of a cron
I'm sure I am not the only one asking for this but I've been breaking my head to achieve this. Basicaly, I have made a cron like system in PHP using the same cron format as crontab.
My question is how can I get the next run time of of jobs just by executing a command.
Can you point me the right direction.
Thanks in advance.