Jump to content

/dev/null permissions [solved]


Recommended Posts

I'm running a few nightly cron jobs as a user. YoSucker and GotMail are verbose and cause extra mail to be sent to the user account.

 

I tried piping the standard output to /dev/nul in the crontab but I get "permission denied".

 

What's the proper way to redirect the standard output in a cron job so that I only get an email if errors occured?

Edited by papaschtroumpf
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...