For example, I got in config,
<crontab>
<jobs>
<test>
<schedule>
<cron_expr>*/15 * * * *</cron_expr>
</schedule>
<run>
<model>test/observer::saveAction</model>
</run>
</test>
</jobs>
</crontab>
And at: */15 * * * *
, can I call a specific time from my db? I want to let the user choose the time interval for the update function. But I am not sure if I can call something from db using php in config.xml
, is there a way to put the interval for a cron job in a php file?