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

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

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
/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..

/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
Old 21st October 2011, 10:11
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,012
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

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)


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 13:19
Being Spammed/Hacked/Probed not sure PLEASE HELP! kresser General 10 29th October 2010 18:25
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
drbd error -115 anandx Installation/Configuration 15 26th April 2009 20:16
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 19:37

All times are GMT +2. The time now is 16:43.

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