I want to implement cronjobs inside an oxid module, so that the php scripts inside the module can run after a few interval of time. is that possible ?
Yes, you can wget a controller of you module in the cronjob.
Example:
wget http://www.yourshop.com/index.php?cl=your_cronjob_controller
Do I have to define the cron job in the cpanel for that?
There should be an option for that, yes.
Can I implement that inside my shop itself or I have to do it inside the server?
Heartsblack⦠I mean no hard feelings, but could you please ask a bit more detailed questions? Implement what? The control panel? A cronjob?
Summary:
- Create a controller in your module
- Go to some control panel or interface where you can manage cronjobs. If you cant, contact your hoster. If you can, got to step 3.
- Configure the cronjob as mentioned with wget or maybe cURL.
Thanks. I understood 