Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th October 2011, 23:06
madmucho madmucho is offline
Senior Member
 
Join Date: Oct 2006
Location: Czech republic, Karlovy Vary
Posts: 158
Thanks: 79
Thanked 11 Times in 11 Posts
Send a message via ICQ to madmucho
Default user cronjob result redirect to file

Heloo,
it is possibilities to save result of client cronjob into file?
Example. is user interface cronjob is this command http://www.somewhere.here/something.do

so it is generated into crontask as
Code:
/usr/bin/wget -q -O /dev/null 'http://www.somewhere.here/something.do' >/dev/null 2>&1
so i wish that result of this long running query will be saved as file for example at user webpage home..

Code:
/usr/bin/wget -q -O /dev/null 'http://www.somewhere.here/something.do' > /var/www/somwhere.here/cron.log
It is for script debugging i dont see its result if my script failed :-/
Is there any possibilities to configure redirect using webadmin? So i can hardcode it into crontab that is manual task.
Reply With Quote
Sponsored Links
  #2  
Old 21st October 2011, 09:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
 
Default

Please take a look at the manpage of wget for the commandline options, e.g. "-O /dev/null" writes all output to /dev/null
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
madmucho (24th October 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Being Spammed/Hacked/Probed not sure PLEASE HELP! kresser General 10 29th October 2010 17:25
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
drbd error -115 anandx Installation/Configuration 15 26th April 2009 19:16
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 18:37


All times are GMT +2. The time now is 23:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.