normal cron jobs work, lynx doesnt though installed | 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
normal cron jobs work, lynx doesnt though installed
August 13, 2012
6:00 pm
Avatar
Danqa
Member
Members
Forum Posts: 3
Member Since:
August 13, 2012
sp_UserOfflineSmall Offline

Hi, cron jobs complete successfully with the normal php command: /usr/bin/php /home/mysite/public_html/backups/cloner.cron.php

but when I want to run a custom cron job which I have to use lynx for 

It does not carry out the job and lynx is installed at this path or if I try variations using lynx which Ive read that others use.

Any ideas would be greatly appreciated, thanks.

August 14, 2012
6:25 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You can start a custom cron confi by using the initial command like

 

/usr/bin/php /home/mysite/public_html/backups/cloner.cron.php custom_config.php

 

Ovidiu

August 14, 2012
10:58 am
Avatar
Danqa
Member
Members
Forum Posts: 3
Member Since:
August 13, 2012
sp_UserOfflineSmall Offline

Thanks that seems to work perfectly, I thought id already tried that command.

 

There isn't a method to password protect the backup archives themselves is there? I know you can use htaccess to secure the backups' folders, though it would be very helpful to be able to password protect the archives as its important for security - maybe theres some way I can implement it by editing the code?

August 14, 2012
2:29 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

No, at the moment backup archives can't be protected, but you can use a third party software to protect them once they are done like gpg under linux http://www.simplehel.....-in-linux/

 

Ovidiu

August 14, 2012
3:52 pm
Avatar
Danqa
Member
Members
Forum Posts: 3
Member Since:
August 13, 2012
sp_UserOfflineSmall Offline

ok, thank you very much for the response.

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