I have created a custom module and a custom cron job. Here is my code:
<crontab>
<jobs>
<customer_cron_job>
<schedule>
<cron_expr>*/1 * * * *</cron_expr><!-- will be configurable from custom admin frontend-->
</schedule>
<run>
<model>globalconnector/observer::cronUpdates</model>
</run>
</customer_cron_job>
</jobs>
</crontab>
Now this module has a custom admin frontend. Here I want to provide the functionality to the user to specify the time (cron_expr) for the cron job to run. i.e. the 'cron_expr' will be dynamically set. Any help is greatly appreciated.