Cron permission problem | 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
Cron permission problem
February 14, 2012
12:09 pm
Avatar
Mark
Member
Members
Forum Posts: 4
Member Since:
February 3, 2012
sp_UserOfflineSmall Offline

I've set up a backup.  I can run it manually with no problems.  I'm now trying to schedule the backup.

 

The first test last night resulted in the following text being emailed to me (domain name removed):

 

/bin/sh: /var/www/vhosts/xxxxxxxxxxxxx.biz/httpdocs/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php: Permission denied

 

Is cloner.cron.php the correct file for me to be running?

Do you know what else might be causing the permission denied?

February 14, 2012
1:27 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You need to add the php executable in your cron command so it looks like this

 

php /var/www/vhosts/xxxxxxxxxxxxx.biz/httpdocs/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php

 

Ovidiu

February 22, 2012
9:26 am
Avatar
czar
Member
Members
Forum Posts: 5
Member Since:
February 22, 2012
sp_UserOfflineSmall Offline

Hi....I have heard about cron error but dont know its cause and its effects....any explanation....????

February 22, 2012
5:37 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

For Cron explication check here http://en.wikipedia......iki/Cron , the term also related to Job or Command Scheduler which you might be more familiar with.

 

For the full scheduler setup to automated backups with XCloner check our wiki here /wiki/index.php/Appendix

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
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10052
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
piotr K
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0