Strange Transmission email report (thousands)

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: Strange Transmission email report (thousands)

Postby kikkegek » Fri Jan 13, 2012 11:57 am

yes, disabling that cronjob solves the email messages, but now transmission will no longer add the torrent files automatically when I add them to that torrent folder.

I did some more research and it it the cronjob reporting by email the output of the job (mostly errors, when folder is empty or similar stuff). it will sent the email to the user running or starting the job...in this case "transmission".

because transmission for some reason can not receive the email, the email bounces back to the root account, which in my case forwards it to my "jochen" account...

I then searched how I could disable email reports on errors and found this. It will probably solve my problem:

Code: Select all

Cron Job Prevent the sending of errors and output To prevent the sending of errors and output, add any one of the following at the end of the line for each cron job to redirect output to /dev/null. >/dev/null 2>&1. OR &> /dev/null Cron Job Example Edit/Open your cron jobs, enter: $ crontab -e Append string >/dev/null 2>&1 to stop mail alert: 0 1 5 10 * /path/to/script.sh >/dev/null 2>&1 OR 0 1 5 10 * /path/to/script.sh &> /dev/null Save and close the file. Restart the crond: # /etc/init.d/crond restart

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: Strange Transmission email report (thousands)

Postby kikkegek » Fri Jan 13, 2012 12:20 pm

I have changed the cronjob to this:

Code: Select all

# watch for torrent files in the torrents directory */2 * * * * transmission transmission-remote localhost:9091 -a /var/hda/files/torrents/*.torrent >/dev/null 2>&1 && rm -f /var/hda/files/torrents/*.torrent >/dev/null 2>&1
and now no more email are sent every 2 minutes, but it will still look in the torrent folder and add torrent files automatically.

suc6! yes!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Strange Transmission email report (thousands)

Postby bigfoot65 » Fri Jan 13, 2012 12:22 pm

Awesome. Would you mind posting that on the Transmission wiki page? Would be beneficial to other users.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: Strange Transmission email report (thousands)

Postby kikkegek » Fri Jan 13, 2012 1:23 pm

Awesome. Would you mind posting that on the Transmission wiki page? Would be beneficial to other users.
I would love to, but have no clue how such a thing would work? can you help me?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Strange Transmission email report (thousands)

Postby bigfoot65 » Fri Jan 13, 2012 2:49 pm

You should be all set. Log into the wiki, go to the Transmission page and edit it. There you can add an area near the bottom for this issue.

Once you are done, I can take a look and make any modifications if needed.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kikkegek
Posts: 341
Joined: Sun Jul 31, 2011 9:28 am

Re: Strange Transmission email report (thousands)

Postby kikkegek » Sun Jan 15, 2012 2:10 am

You should be all set. Log into the wiki, go to the Transmission page and edit it. There you can add an area near the bottom for this issue.

Once you are done, I can take a look and make any modifications if needed.
done! hope you like it. glad to be able to help others.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Strange Transmission email report (thousands)

Postby bigfoot65 » Sun Jan 15, 2012 6:54 am

Awesome! Thanks for doing it. I am sure others will appreciate it.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 33 guests