Problem with cronjobs since version 3.1.1 | Wordpress Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSSsp_TopicIcon
Problem with cronjobs since version 3.1.1
May 28, 2014
5:25 pm
Avatar
Bob
Member
Members
Forum Posts: 14
Member Since:
May 24, 2013
sp_UserOfflineSmall Offline

Hi,

I have just updated XCloner for version 3.1.1.

I received the following message from the server, after a scheduled cron task:

To run this script you need to create a custom config file inside XCloner
Config, and call the script using php cli command like this:

php /home4/xxx/public_html/example.com/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php
mycustomconfig.php

After reading another post in this forum, I understood that I had to use the
above syntax for the cron task, which I did but it didn’t work either.

Then, I indicated “mycustomconfig” in Configuration > Cron > Configuration
Name.

The cron task it is now working OK, but I don’t understand:

1 – Why do I now have to specify “mycustomconfig” for “Multiple CronJobs
Configuration”, which I had never done before and it worked perfectly? I am not
running multiple cronjobs.

2 – Why is the syntax in Administration > Cron (Cron Command Setup)
incorrect?

It is: /usr/bin/php  /home4/xxx/public_html/example.com/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php
custom_cron_config.php

Why doesn’t it exactly reflect the right syntax to use, which would avoid
errors?

Cordially

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Emmanuel Joachim
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0