Posted 21 October 2011 - 12:27 PM
I have two modules crontab for prestashop and the backup module from presto changeo
I can get neither to work, and think it must be to do with prestashop install. Why?
I have created cron and run them manually and they work. The crons for these modules run manually and they work.
I set up a separate email cron and that works manually and when configured to run automatically.
I put the mail cron in the same folders as the modules and it still runs manually and automatically.
But if I change the name to be the same as the ones supplied with the modules so that they trigger the call- nothing
So it seems to me that for whatever reason, the prestashop installation is preventing the call being made
Hope that all makes sense
I am on 1&1 (i know! don;t all shout at me) with ssh access to create the crontab
Anyone have any ideas?
Posted 22 October 2011 - 03:36 PM
If the method given int he module instructions don;t work, then you can use a wget instead
0 0 * * 0 /usr/bin/php -q /homepages/10/xxxxxxxxxxxxxx/htdocs/prestashop/modules/prestashopbackup/cron/dbcron.php secure_key=xxxxxxxxxxxxxxxxxx
0 0 * * 0 wget -O /dev/null http://www.graphskill.co.uk/prestashop/modules.prestashopbackup/cron/dbcron.php?secure_key=xxxxxxxxxx
Making sure you use the ? instead of the space in the original
This seems to work just fine
Posted 17 November 2011 - 08:28 PM
I'm in 1and1 and to set a cron I must be on SSH configuration, but is it dificult to set it up in the back pannel????
If you could explain step by step will be perfect!!!
I must do it for a few modules...
Posted 17 November 2011 - 09:16 PM
Not every 1&1 account can use the ssh configuration. Setting it up was easy. In control panel, jsut click SSH if it is there and follow the simple instructions
If you can do that, then there help is actually very good in setting up a cron. It really is worth going through there suggestions first before starting on your own
Posted 13 January 2012 - 04:05 PM
i can;t quite tell, but the - should not have a space after it, and is it a capital "oh" you have there? Also there needs to be a space between Null and http, and I guess you did replace the xxxxxxxx with your own secure key?
0 0 * * 0 wget -O /dev/nullhttp://www.myaddress.com/prestashop/modules.prestashopbackup/cron/dbcron.php?secure_key=xxxxxxxxxx
doesn't work in my cron job.
the simbol " - " causes an error..
can u help me?
Posted 13 January 2012 - 06:12 PM
Well done - why not share your solve for others to benefit
maybe i've solved the problem!
Posted 16 January 2012 - 09:41 AM
1) Install Crontab for prestashop. ( by Saṃdhā )
2) Go In Database Backup Module ( by Presto Changeo ) and copy the URL of the third method
3) Paste the URL
( look like this : www.yoursite.com/folder/modules/prestashopbackup/cron/dbcron.php?secure_key=xxxxxxxxxxxx )
in the Crontab's job creator. ( Remember to put http:// before the URL )
Now everything seems work!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users