Hi,
Well setting up a cron job depends on your server configuration. Can you please tell me if you are using any control panel such as Plesk, CPanel or Webmin? If not, do you have SSH access to the server?
To the best of my knowledge I am not using any control panel.
How can I determine whether or not I have SSH access to the server? (FYI I am using Hostway as a hosting service)
Here’s what I managed to find in their documentation pages:
http://help.hostway.com.au/documents/faq_hosting.htm#question17
So basically you have to talk to them if you want to run a cron job.
Hi Sorin,
Can you give some instructions how to set up a cron job in Direct Admin?
They give these examples of cron commands:
/usr/local/bin/php /home/vries24/domains/domain.com/public_html/script.php
/usr/local/bin/curl –silent http://www.domain.com/cron.php > /dev/null
/usr/bin/wget -O /dev/null http://www.domain.com/cron.php
Where do I put the http://mydomain.com/?backup
or http://mydomain.com/?backup=UIYoBLUJrQ0A
tia
Erik
Hi,
On the Cronjobs page (where I assume you got the examples from) you have a Create a New Cron Job
section. Under there you have a bunch of fields like minute, hour, etc. If for example you enter 15
in the minute field and 3
in the hour field and leave everything else to *
, the cron job will run every day at 3:15 am.
Now for the command field, something like /usr/bin/wget -O /dev/null http://mydomain.com/?backup=PPYmBWUJKq0G
should work fine.
Hi Sorin,
Works perfectly. Thanks for your help.
(I also posted a comment in http://wordpress.org/support/topic/no-backups-since-update?replies=17#post-3151112)
Erik