simspims Posted July 10, 2015 Share Posted July 10, 2015 Hi there, I have input several cron jobs into the native cron task manager module but as you can see in the image, the tasks never run. Any ideas what might be preventing this? this is on a (hosted server - not cloud setup). Thanks in advance Link to comment Share on other sites More sharing options...
Kogkalidis Posted April 21, 2016 Share Posted April 21, 2016 Do you use advanced mode? Did you created cron task on your server with the giver url (take care about the right token) of the cron module? Link to comment Share on other sites More sharing options...
tdr170 Posted April 21, 2016 Share Posted April 21, 2016 (edited) Does your host have curl extention, I do not use the Cron module but on my host I can set cron jobs 2 ways with curl or wget before the URL like this curl http://mydomian/modules/gsitemap/gsitemap-cron.php?token=5f613f012c&id_shop=1 or wget http://mydomain/modules/gsitemap/gsitemap-cron.php?token=5f613f012c&id_shop=1 The only diff is that the wget will create log file everytime the task is run and place it in the root or root tmp file I really do not remember. (note there is a space between curl or wget and the URL) Do you have wget or curl before the url, I am not sure about the module but the task do not run without one or the other in the Cron jobs on my host. Does your host offer Cron jobs in the CPanel if so why not use that. Edited April 21, 2016 by tdr170 (see edit history) Link to comment Share on other sites More sharing options...
Kogkalidis Posted April 22, 2016 Share Posted April 22, 2016 I managed to make Cron Tasks Manager v. 1.3.2 work. In /admin folder there is a cron php file. You copy it, rename the copy to whatever you like .php. Then create whatever function you like on a native class and call it via the copy cron file. Rename the cron task to the module linking to that file (instead of the currencies one) but leave the security key on.Of course change tasks manager to advanced and add its path to server automated tasks. That way worked for me!Tested yesterday a couple of timesps. 1.6.1.4 -- cron tasks manager 1.3.2 Link to comment Share on other sites More sharing options...
Ableson Posted April 24, 2016 Share Posted April 24, 2016 You can use any external crontab (like easycron.com), which starts processes on the URL and some PrestaShop modules cron job tutorials at https://www.easycron.com/cron-job-tutorials, hope the help. 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