artellando Posted January 22, 2019 Share Posted January 22, 2019 (edited) Hi all, I am new to the developer community. At this very moment I am developing my first module, and I found I need to allow some tasks to execute periodically. I've been looking for tools to ease it in Prestashop, and I found in the docs (http://doc.prestashop.com/display/PS16/Administration+modules#Administrationmodules-Crontasksmanager) there should be an administration module called "Cron tasks manager" that works like cron, calling URLs periodically. The problem is I can't find that module. I installed Prestashop 1.6 using a Bitnami installer. It brings only a few administration modules, and none of them is that cron tasks manager. I also could not find it in the marketplace, or in GitHub, 1.6.x branch, in the modules folder (https://github.com/PrestaShop/PrestaShop/tree/1.6.1.x/modules). After making a more extensive search in GitHub, I found a cronjobs module in a folder called "tests-legacy". Is there really a "cron tasks manager" admin module for version 1.6.1.5? If not, is there any free and stable alternative to it? Thanks in advance Edited January 22, 2019 by artellando (see edit history) Link to comment Share on other sites More sharing options...
artellando Posted January 23, 2019 Author Share Posted January 23, 2019 (edited) I've been caught in a typical newbie error: I hadn't choose the right search terms -or whatever- before posting here. After searching again, I found a few hints to follow: Article Hennes Herve - Prestashop : Gestion des taches cron (thread https://www.prestashop.com/forums/topic/736402-cronjob-documentation/?page=0#comment-2771351) https://www.prestashop.com/forums/topic/608175-prestashop-cron-jobs-not-working/?tab=comments#comment-2781838 I'll keep updating, hoping it could help anybody Edited January 23, 2019 by artellando (see edit history) Link to comment Share on other sites More sharing options...
Rhobur Posted January 26, 2019 Share Posted January 26, 2019 The full proof way would be to add the script to the system cron not the PS cron. 1 Link to comment Share on other sites More sharing options...
artellando Posted January 28, 2019 Author Share Posted January 28, 2019 On 1/26/2019 at 9:12 AM, Rhobur said: The full proof way would be to add the script to the system cron not the PS cron. I'm working on an admin module: if I call curl or similar from system cron, I think I should authenticate. Would it be a problem? Link to comment Share on other sites More sharing options...
Rhobur Posted January 29, 2019 Share Posted January 29, 2019 On 1/28/2019 at 2:21 AM, artellando said: I'm working on an admin module: if I call curl or similar from system cron, I think I should authenticate. Would it be a problem? curl has flags for authentication 1 Link to comment Share on other sites More sharing options...
Ableson Posted February 17, 2019 Share Posted February 17, 2019 The module at https://github.com/PrestaShop/cronjobs. 1 Link to comment Share on other sites More sharing options...
artellando Posted February 17, 2019 Author Share Posted February 17, 2019 Thanks Rhobur and Ableson. I'll try both. Cheers Link to comment Share on other sites More sharing options...
Mediacom87 Posted May 16, 2022 Share Posted May 16, 2022 Hi, There is still this free module, the oldest to date, allowing you to centralize your cron tasks on your store. https://www.prestatoolbox.com/free-prestashop-modules/115-crontab.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now