cron_exclude for multiple directories | General Questions and 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_TopicIcon
cron_exclude for multiple directories
September 7, 2011
12:16 am
Avatar
matt
New Member
Members
Forum Posts: 2
Member Since:
September 6, 2011
sp_UserOfflineSmall Offline

First of all great software!!  This is huge!

 

I'm trying to exclude directories in the cronjob and I only know how exclude one at a time.  I have it configured this way for one, but how do I add more.  can you give me an example of code.  

 

$_CONFIG['cron_exclude']="/home/user/domains/domain.com/public_html/contacts/";

 

Thanks,

 

Matt

September 7, 2011
7:05 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Inside the XCloner Config->Cron tab, you can add the directories one per line in the Exclude box, so for the code you have there, simply try and put each directory on a single line like

 

$_CONFIG['cron_exclude']="dir1

dir2

dir3";

 

  Hope it helps! Ovidiu

September 9, 2011
12:22 am
Avatar
matt
New Member
Members
Forum Posts: 2
Member Since:
September 6, 2011
sp_UserOfflineSmall Offline

This is helpful!  Thanks for the support I will try it out tonight.

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: 10049
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
ISIDORO ILARDO
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0