I’m having issues with getting the M2Epro cron job to run. We are using our Magento website purely for the backend functionality of runnning M2epro > eBay at present.
I can’t see the site being up and running for public consumption for at least 6 months. So we have been using .htaccess to block access. However it also blocks the external M2Epro cron calls.
I’ve tried modifying the .htaccess file with various allow commands etc but still no joy. Does anybody know the details that should be added to the M2epro cron command line to include the username and password, so that it can call cron.php ?
The command line we have which seems to work to run M2Epro cron every minute, when .htaccess password auth is commented out is this:
php -q /home/our website/public_html/cron.php -mdefault 1
It is worth noting that when the .htaccess file is actively blocking the site it asks for the username and password two times. So I don’t know how this it added to the cron command line.
Thanks in advance.
Why don’t you either put a coming soon homepage with a email box for people to put their email if they are interested or put a maintenance flag in the root so it looks like it’s in maintenance mode.
For the backend access you can set it so you have full access on specific ip’s.
That way should be no issues
Hope this helps
Everyday is an opportunity to learn something new
Thanks for the follow up. Yes it looks like the coming soon page is the way to go. Having talked with M2Epro support, they said that the M2Epro cron cannot access using login credentials in the command line. I tried the allow function for certain IP’s but this hasn’t worked for me either.
Looking at the Magento Connect store there are a few nice plugins for this landing page, with the email sign up, so seems the way to go.
Why Should You Join UnderstandingE?
- Access to over 500 step-by-step video tutorials
- +20 video courses available
- Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
- Everything is in 100% Plain English
- Learn how to build your own multi-channel software for eBay & Amazon
- Access to the community forums, meet fellow business owners like yourself
Join Now with 2 Clicks
Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.
Most Users Ever Online: 1012
Currently Browsing this Page:
Jim @ Moogento: 688
Steve Froggatt: 514
Badeth - UE: 513
Paul Cartwright: 414
Administrators: Matthew Ogborne: 4565, Dave Furness: 4606