Jump to content

Cronjob documentation


perarg

Recommended Posts

Hello,

i am searching but with no luck, some kind of documentation on creating my own cronjobs for my custom module. That is to say, i want to run periodically a function which i have built up in a custom module. What should i do in my module's code to create this functionality ?

Link to comment
Share on other sites

Depending on Prestashop version, there is a cronjob module already available from your back-office "cron tasks manager".

Prestashop docu: http://doc.prestashop.com/dashboard.action

Prestashop cron tutorial - this is very old, but should serve as example, you need to adapt the code for the PS-Version in use (classes, etc.) - http://doc.prestashop.com/display/PS14/Modules,+Classes+and+Controller+Override

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...