When mailing from freenas the PATH is displayed

Status
Not open for further replies.

craigyb

Dabbler
Joined
Jun 9, 2013
Messages
19
Whenever the cron sends an email the Subject has the PATH in it followed by the cron command making the subject line very long.

Is there anyway to get rid of this....

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin"
 

rm-r

Contributor
Joined
Jan 7, 2013
Messages
166

fracai

Guru
Joined
Aug 22, 2012
Messages
1,212
No, the daily reports aren't the same as cron output.
 

craigyb

Dabbler
Joined
Jun 9, 2013
Messages
19
No it doesn't help at all. This is the PATH= that is inserted into the subject line, it is so long the actual command is lost on the screen.
 
Status
Not open for further replies.
Top