How to register a cron jon in module?

Hi, Currently i am developing a module. Which fetch products reviews from eKomi System. And display on oxid shop product page.
I need to set a cron job in oxid while installing a module. Which run after every 24 hrs.
How can i do this? Any help would be appreciated.

Hi and welcome to the forums,

a cron job is not necessarily done within the application. I would always use cron within a UNIX system to do such tasks. Found a pretty cool manual here, for example: http://kvz.io/blog/2007/07/29/schedule-tasks-on-linux-using-crontab/

Regards

before you start, ask eKomi if you are allowed to do what you want to do.
Their terms of usage clearly say, that you do not own the reviews and they give you licence to use widget and seal, not the reviews itself.

I am developer in ekomi. So i am creating this plugin/module for eKomi.

My module requirement is to create cron job on the activate of the module.
Is this possible?

Not possible IMO. Given that you want to use UNIX cron of the system, the application cannot trigger anything outside the doc root of your web server.

you could let your function for displaying reviews in frontend do the job insteread of cron.