Skip to main content

Joel Liu's Library tagged sysadmin   View Popular

Unix Crontab - setting up cron jobs using crontab

  • By default cron jobs sends a email to the user account executing the cronjob.
    If this is not needed put the following command At the end of the cron job line
    .



    >/dev/null 2>&1

BigAdmin Description - cat /dev/null > filename

  • cat /dev/null > filename

    <!-- /Title -->


    <!-- Overview -->
    Zero's out the file without breaking pipe
    <!-- /Overview -->


    Description:
    <!-- Description -->
    Some applications keep an open pipe to a file and if that file is removed the application will no longer write to that file.

    By using this command it will zero out the file without breaking this open pipe.

1 - 17 of 17
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo