Cron: Difference between revisions

From DWIKI
Tony (talk | contribs)
Created page with "   = FAQ = == Mail from anacron daily, weekly etc =="
 
Tony (talk | contribs)
mNo edit summary
Tag: wikieditor
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


== Mail from anacron daily, weekly etc ==
== Mail from anacron daily, weekly etc ==
===Change from address===
(in case of mailutils?) try '''~/.mailrc''':
set name="My Full Name"
set from="[email protected]"
== Change subject of cron mail ==
10 10 * * * myjob 2>&1 | mailx -E -s "my subject" $LOGNAME

Latest revision as of 08:39, 19 January 2026

 

FAQ

Mail from anacron daily, weekly etc

Change from address

(in case of mailutils?) try ~/.mailrc:

set name="My Full Name"
set from="[email protected]"


Change subject of cron mail

10 10 * * * myjob 2>&1 | mailx -E -s "my subject" $LOGNAME