File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ for id in $ids ; do
3838 add_date=" $( transmission-remote " $host " --auth=" $auth " --torrent " $id " --info| grep ' ^ Date added: ' | cut -c 21-) "
3939 add_date_t=" $( date -d " $add_date " " +%Y-%m-%d %H:%M" ) "
4040 dater=" $( date " +%Y-%m-%d %H:%M" ) "
41- dateo=" $( date -D ' %s ' - d " $(( `date +% s`+ 1 * 60 )) " " +%Y-%m-%d %H:%M" ) "
41+ dateo=" $( date -d " @ $(( `date +% s`+ 1 * 60 )) " " +%Y-%m-%d %H:%M" ) "
4242
4343if [ ! -f " /tmp/TTAA.$id .lock" ]; then
4444if [[ " ( " $( add_date_t) " == " $( dater) " || " $( add_date_t) " == " $( dateo) " )" ]]; then
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ CPUSchedulingPolicy=idle
1515Nice =19
1616
1717[Install]
18- WantedBy =multi-user.target
18+ WantedBy =transmission-daemon.service
You can’t perform that action at this time.
0 commit comments