Results 1 to 6 of 6
Thread: Downloadind Daily Log Files
-
06-06-2005, 08:11 PM #1Junior Guru Wannabe
- Join Date
- May 2004
- Posts
- 30
Downloadind Daily Log Files
Does anyone know how to automatically download the daily raw log files from Cpanel?
In the past we would just download the archive at the end of the month. However the new host we just switched to has the daily log files flushed or recycled so the resulting log for the month is junk. Something I wish they would have told me before we switched to them.
Thanks
Richie Schut
-
06-06-2005, 10:20 PM #2PHP for breakfast
- Join Date
- May 2004
- Location
- Lansing, MI, USA
- Posts
- 1,548
Re: Downloadind Daily Log Files
Originally posted by TheDuck
Does anyone know how to automatically download the daily raw log files from Cpanel?
In the past we would just download the archive at the end of the month. However the new host we just switched to has the daily log files flushed or recycled so the resulting log for the month is junk. Something I wish they would have told me before we switched to them.
Thanks
Richie SchutJacob - WebOnce Technologies - 30 Day 100% Satisfaction Guarantee - Over 5 Years Going Strong!
Website Hosting, PHP4&5, RoR, MySQL 5.0, Reseller Hosting, Development, and Designs
Powered By JAM - Professional Website Development - PHP, MySQL, JavaScript, AJAX - Projects Small & Large
-
06-07-2005, 01:14 PM #3Junior Guru Wannabe
- Join Date
- May 2004
- Posts
- 30
The FTP listed in the manager all open empty folders. If there was a log file there it would be easy.
The only way I know how to get the daily log file is through Cpanel as you metioned. However I need to download the log files daily for a ever growing number of accounts.
Thanks for the help.
Richie Schut
-
06-07-2005, 01:15 PM #4PHP for breakfast
- Join Date
- May 2004
- Location
- Lansing, MI, USA
- Posts
- 1,548
If your host allows you to use 'wget' you could do a cronjob to download them to your account.
Jacob - WebOnce Technologies - 30 Day 100% Satisfaction Guarantee - Over 5 Years Going Strong!
Website Hosting, PHP4&5, RoR, MySQL 5.0, Reseller Hosting, Development, and Designs
Powered By JAM - Professional Website Development - PHP, MySQL, JavaScript, AJAX - Projects Small & Large
-
06-07-2005, 02:38 PM #5Junior Guru Wannabe
- Join Date
- May 2004
- Posts
- 30
How do you use cronjobs? I have seen it, but never used it. Do you have and good resources on how to use cronjobs?
Thanks
Richie Schut
-
06-07-2005, 02:51 PM #6PHP for breakfast
- Join Date
- May 2004
- Location
- Lansing, MI, USA
- Posts
- 1,548
Best thing would be to google. I used to know a specific site with information but I cannot remember what it was.
Jacob - WebOnce Technologies - 30 Day 100% Satisfaction Guarantee - Over 5 Years Going Strong!
Website Hosting, PHP4&5, RoR, MySQL 5.0, Reseller Hosting, Development, and Designs
Powered By JAM - Professional Website Development - PHP, MySQL, JavaScript, AJAX - Projects Small & Large