user cronjob result redirect to file

Discussion in 'General' started by madmucho, Oct 20, 2011.

  1. madmucho

    madmucho ISPConfig Developer ISPConfig Developer

    it is possibilities to save result of client cronjob into file?
    Example. is user interface cronjob is this command

    so it is generated into crontask as
    /usr/bin/wget -q -O /dev/null '' >/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 '' > /var/www/
    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.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please take a look at the manpage of wget for the commandline options, e.g. "-O /dev/null" writes all output to /dev/null

Share This Page