I created a magento module that exports the product to a csv file. Now I want to run a cronjob every day at 23.55. I installed config.xml as it is written in the magento cronjob wiki .
My code is:
<crontab> <jobs> <gcompany_runprofilescronjob> <schedule> <cron_expr>55 23 * * *</cron_expr> </schedule> <run> <model>export/export_csv::runprofilescronjob</model> </run> </gcompany_runprofilescronjob> </jobs> </crontab>
I also installed cronjob on the server. When running cronjob, all cronjob in magento is stored in the cron_schedule database table, but not in my gcompany_runprofilescronjob. If I set a different interval, for example:
<cron_expr>*/1 * * * *</cron_expr>
My cronjob is written in the database, but in execution every minute I donโt want ... I want my function to be executed every day at 23.55. Any suggestions what am I doing wrong?
source share