Re: Dar and anacron
Trevisi Roberto <[email protected]> Thu, 3 Apr 2025 22:00:09 +0200
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <CAGBoE9SN5p7XGDkpMs5cEbUqeLzT6y9mXt0A07SxAU289JkKQg@mail.gmail.com> |
--===============6028708531142380265== Content-Type: multipart/alternative; boundary="000000000000b3ecd00631e53953" --000000000000b3ecd00631e53953 Content-Type: text/plain; charset="UTF-8" In log I found this: ``` Arguments read from /usr/share/doc/dar/examples/dar_par.dcf : "-E" "/usr/share/doc/dar/examples/dar_par_create.duc "%p" "%b" %N %e %c 2" ``` The file dar_par.dcf: ``` if [ "$1" = "" -a "$2" = "" -a "$3" = "" -a "$4" = "" -a "$6" = "" ]; then echo "usage: $0 <path> <basename> <slice number> <extension> <context(not used)> <redundancy ratio (%)>" echo "$0 builds Parchive redundancy file for the given slice" exit 1 fi # change according to you need PAR=par2 echo "creating PAR file for file $1/$2.$3.dar ..." exec $PAR c -r$6 -n1 "$1/$2.$3.$4" # script returned code it those of par ``` is it possible that par2 calls another instance of dar ? Il giorno gio 3 apr 2025 alle ore 15:38 Denis Corbin <[email protected]> ha scritto: > Well, > > what is sure is that the message "No terminal found for user > interaction[...]" cannot show if you add -Q option to dar: > - I've double checked the code, > - traced the information passing from CLI input parsing, down to the > location where the message is coded, > - tested with cron (ok not anacron, which I have no on my system), could > receive an email with the message without -Q option, and verify that > adding -Q option removes the message and cron do not sent the email > anymore (unless some other error showed). > > I have really no idea about what's wrong in you context, moreover if > adding -Q option lead you see no messages in the logs while anacron > still reports a email with that message! > > I would try using cron to see if this is anacron related or not... > > Regards, > Denis > > On 03/04/2025 14:26, Trevisi Roberto wrote: > > The two commands in the scripts that run dar_static are: > > --------- > > /usr/bin/env dar_static -Q -vm -vf -z -D -R / -c "$file" \ > > par2 compress-exclusion --cache-directory-tagging \ > > -P boot/efi -P dev -P proc -P run \ > > -P sys -P tmp -P var/tmp -P var/cache -P root/.cache \ > > -P home/rob/.cache -P home/rob/snap/firefox/common/.cache \ > > -P media -P cdrom -P mnt -P lost+found &>> "$logfile" && > > ---------- > > /usr/bin/env dar_static -Q -vm -t "$file" par2 &>> "$logfile" && > > ---------- > > > > The line in /etc/crontab is > > 15 20 dar_full_backup /bin/bash /usr/local/bin/full_live- > > dar_backup_ubuntu.sh > > > > enclose the /etc/darrc, there is no "-E" option I don't execute external > > commands > > I don't have ~/.darrc > > > > > > Roberto > > > > Il giorno gio 3 apr 2025 alle ore 09:49 Denis Corbin <[email protected] > > <mailto:[email protected]>> ha scritto: > > > > On 02/04/2025 22:04, Trevisi Roberto wrote: > > > Hi, > > > > > > I am new in bash scripting but if I redirect > > > STDOUT and STDERR to /dev/null I lose the log. Is it so ? > > > > correct. > > > > > > > > In any way the log now does not show that message > > > > I could not reproduce the problem: without -Q, I get the warning as > > expected, while adding this option suppresses this message, also as > > expected. > > > > Can you use explicit path to dar in your crontab/anacron? > > I suspect you are not calling dar directly but are calling a wrapper > > script that calls twice dar but only pass -Q argument to the first... > > > > this would explain what you observed, having 2 waning without -Q and > > only one with -Q. > > > > Another possibility is that you run dar twice, the second time from > -E > > argument passed from /etc/darrc or ~/.darrc. I suggest testing the > > addition of -N option to avoid dar reading these files... > > > > my 2 cents > > > > > > > > > > > Regards > > > Roberto > > > > > > On Wed, Apr 2, 2025, 19:02 Neil Darlow via Dar-support <dar- > > > [email protected] > > <mailto:[email protected]> <mailto:dar- <mailto:dar-> > > > [email protected] > > <mailto:[email protected]>>> wrote: > > > > > > Hi, > > > > > > Have you tried appending: > > > > > > >/dev/null 2>&1 > > > > > > to your dar invocations to prevent any dar output from > triggering > > > anacron to send the email? > > > > > > Regards, > > > Neil Darlow > > > > > > > > > On 2 April 2025 14:08:45 BST, Trevisi Roberto > > <[email protected] <mailto:[email protected]> > > > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > > > > > the dar_static version is 2.7.13 > > > > > > Il giorno mer 2 apr 2025 alle ore 15:07 Trevisi Roberto > > > <[email protected] <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>> ha scritto: > > > > > > Ciao Denis, > > > > > > you were right, there is a second dar command in the > > script > > > to test the created file (-t) > > > I put the "-Q" option to the second instance too, but > the > > > anacron email with that message > > > is sent anyway. > > > > > > I redirect all to a log file and, the strange thing > > is that > > > before I put the first "-Q" option > > > correctly I found two messages in log file, when I > > put the > > > first "-Q" option correctly I > > > found one message in log file, now that I put the > > second "- > > > Q" option correctly the > > > message there is no more in the log file, but anacron > > sends > > > the email > > > with that message anyway > > > > > > > > > Roberto > > > > > > Il giorno mar 1 apr 2025 alle ore 19:34 Denis Corbin > > > <[email protected] <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>> ha scritto: > > > > > > On 01/04/2025 18:52, Trevisi Roberto wrote: > > > > Hi Denis, > > > > > > Buongiorno Roberto, > > > > > > > > > > > anacron keeps sending the email with the > message > > > > > > > > the dar command in the script is: > > > > > > > > /usr/bin/env dar_static -vm -vf -Q -z -D -R / > -c > > > "$file" \ > > > > par2 compress-exclusion --cache-directory- > > tagging > > > -P boot/efi -P dev > > > > -P proc -P run \ > > > > -P sys -P tmp -P var/tmp -P var/cache -P > > > root/.cache \ > > > > -P home/user/.cache -P > home/user/snap/firefox/ > > > common/.cache \ > > > > -P media -P cdrom -P mnt -P lost+found &>> > > > "$logfile" && > > > > > > > > I tried to put the "-Q" option immediately > after > > > "dar_static" and, as above, > > > > after the verbose options, but in both cases > > anacron > > > sends the email > > > > > > if -Q is passed to dar, dar just skips the > display of > > > the message, > > > whatever is the context. Anacron has no power to > > change > > > that. > > > > > > I have double check that the information from > > command- > > > line down to the > > > code triggering this message is properly > propagated > > > (version 2.7.17, but > > > this par has not changed since 2.7.0 at least > > this the > > > behavior is > > > likely the same with any 2.7.x version). > > > > > > Can you check you don't have several lines > > calling dar > > > in you crontab > > > and/or anacron, for all users, and whether they > > all have > > > -Q option set? > > > > > > By the way, which dar_static version are you > using? > > > 'dar_static -V' will tell you... > > > > > > > > > > > > > > > > > > > > > Ciao, > > > Denis > > > > > > -- > > > Sent from my Android device with K-9 Mail. > > > > > > > > > > > > --000000000000b3ecd00631e53953 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">In log I found this:<div><br></div><div>```</div><div>Argu= ments read from /usr/share/doc/dar/examples/dar_par.dcf :<br>=C2=A0"-E= "<br>=C2=A0"/usr/share/doc/dar/examples/dar_par_create.duc "= %p" "%b" %N %e %c 2"<br></div><div>```</div><div><br></= div><div>The file=C2=A0dar_par.dcf:</div><div><br></div><div>```</div><div>= if [ "$1" =3D "" -a "$2" =3D "" -a = "$3" =3D "" -a "$4" =3D "" -a "= ;$6" =3D "" ]; then<br>=C2=A0 echo "usage: $0 <path&= gt; <basename> <slice number> <extension> <context(not= used)> <redundancy ratio (%)>"<br>=C2=A0 echo "$0 build= s Parchive redundancy file for the given slice"<br>=C2=A0 exit 1<br>fi= <br><br># change according to you need<br>PAR=3Dpar2<br><br>echo "crea= ting PAR file for file $1/$2.$3.dar ..."<br><br>exec $PAR c -r$6 -n1 &= quot;$1/$2.$3.$4"<br># script returned code it those of par<br></div><= div>```</div><div><br></div><div>is it possible that par2 calls another ins= tance of dar ?</div><div>=C2=A0</div></div><br><div class=3D"gmail_quote gm= ail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">Il giorno gio 3 = apr 2025 alle ore 15:38 Denis Corbin <<a href=3D"mailto:[email protected]= r">[email protected]</a>> ha scritto:<br></div><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex">Well,<br> <br> what is sure is that the message "No terminal found for user <br> interaction[...]" cannot show if you add -Q option to dar:<br> - I've double checked the code,<br> - traced the information passing from CLI input parsing, down to the <br> location where the message is coded,<br> - tested with cron (ok not anacron, which I have no on my system), could <b= r> receive an email with the message without -Q option, and verify that <br> adding -Q option removes the message and cron do not sent the email <br> anymore (unless some other error showed).<br> <br> I have really no idea about what's wrong in you context, moreover if <b= r> adding -Q option lead you see no messages in the logs while anacron <br> still reports a email with that message!<br> <br> I would try using cron to see if this is anacron related or not...<br> <br> Regards,<br> Denis<br> <br> On 03/04/2025 14:26, Trevisi Roberto wrote:<br> > The two commands in the scripts that run dar_static are:<br> > ---------<br> >=C2=A0 =C2=A0/usr/bin/env dar_static -Q -vm -vf -z -D -R / -c "$fi= le" \<br> >=C2=A0 =C2=A0 =C2=A0par2 compress-exclusion --cache-directory-tagging \= <br> >=C2=A0 =C2=A0 =C2=A0-P boot/efi -P dev -P proc -P run \<br> >=C2=A0 =C2=A0 =C2=A0-P sys -P tmp -P var/tmp -P var/cache -P root/.cach= e \<br> >=C2=A0 =C2=A0 =C2=A0-P home/rob/.cache -P home/rob/snap/firefox/common/= .cache \<br> >=C2=A0 =C2=A0 =C2=A0-P media -P cdrom -P mnt -P lost+found &>>= ; "$logfile" &&<br> > ----------<br> > /usr/bin/env dar_static -Q -vm -t "$file" par2 &>>= "$logfile" &&<br> > ----------<br> > <br> > The line in /etc/crontab is<br> > 15 20 dar_full_backup =C2=A0/bin/bash /usr/local/bin/full_live- <br> > dar_backup_ubuntu.sh<br> > <br> > enclose the /etc/darrc, there is no "-E" option I don't = execute external <br> > commands<br> > I don't have ~/.darrc<br> > <br> > <br> > Roberto<br> > <br> > Il giorno gio 3 apr 2025 alle ore 09:49 Denis Corbin <<a href=3D"ma= ilto:[email protected]" target=3D"_blank">[email protected]</a> <br> > <mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">dar.= [email protected]</a>>> ha scritto:<br> > <br> >=C2=A0 =C2=A0 =C2=A0On 02/04/2025 22:04, Trevisi Roberto wrote:<br> >=C2=A0 =C2=A0 =C2=A0 > Hi,<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 > I am new in bash scripting but if I redirect<= br> >=C2=A0 =C2=A0 =C2=A0 > STDOUT and STDERR to /dev/null I lose the log= . Is it so ?<br> > <br> >=C2=A0 =C2=A0 =C2=A0correct.<br> > <br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 > In any way the log now does not show that mes= sage<br> > <br> >=C2=A0 =C2=A0 =C2=A0I could not reproduce the problem: without -Q, I ge= t the warning as<br> >=C2=A0 =C2=A0 =C2=A0expected, while adding this option suppresses this = message, also as<br> >=C2=A0 =C2=A0 =C2=A0expected.<br> > <br> >=C2=A0 =C2=A0 =C2=A0Can you use explicit path to dar in your crontab/an= acron?<br> >=C2=A0 =C2=A0 =C2=A0I suspect you are not calling dar directly but are = calling a wrapper<br> >=C2=A0 =C2=A0 =C2=A0script that calls twice dar but only pass -Q argume= nt to the first...<br> > <br> >=C2=A0 =C2=A0 =C2=A0this would explain what you observed, having 2 wani= ng without -Q and<br> >=C2=A0 =C2=A0 =C2=A0only one with -Q.<br> > <br> >=C2=A0 =C2=A0 =C2=A0Another possibility is that you run dar twice, the = second time from -E<br> >=C2=A0 =C2=A0 =C2=A0argument passed from /etc/darrc or ~/.darrc. I sugg= est testing the<br> >=C2=A0 =C2=A0 =C2=A0addition of -N option to avoid dar reading these fi= les...<br> > <br> >=C2=A0 =C2=A0 =C2=A0my 2 cents<br> > <br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 > Regards<br> >=C2=A0 =C2=A0 =C2=A0 > Roberto<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 > On Wed, Apr 2, 2025, 19:02 Neil Darlow via Da= r-support <dar-<br> >=C2=A0 =C2=A0 =C2=A0 > <a href=3D"mailto:[email protected]= et" target=3D"_blank">[email protected]</a><br> >=C2=A0 =C2=A0 =C2=A0<mailto:<a href=3D"mailto:[email protected]= rge.net" target=3D"_blank">[email protected]</a>> <mailto= :<a href=3D"mailto:dar-" target=3D"_blank">dar-</a> <mailto:<a href=3D"m= ailto:dar-" target=3D"_blank">dar-</a>><br> >=C2=A0 =C2=A0 =C2=A0 > <a href=3D"mailto:[email protected]= et" target=3D"_blank">[email protected]</a><br> >=C2=A0 =C2=A0 =C2=A0<mailto:<a href=3D"mailto:[email protected]= rge.net" target=3D"_blank">[email protected]</a>>>> wr= ote:<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Hi,<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Have you tried appending:<= br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 >/dev/null 2>&1= <br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0to your dar invocations to= prevent any dar output from triggering<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0anacron to send the email?= <br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Regards,<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Neil Darlow<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0On 2 April 2025 14:08:45 B= ST, Trevisi Roberto<br> >=C2=A0 =C2=A0 =C2=A0<<a href=3D"mailto:[email protected]" target=3D"= _blank">[email protected]</a> <mailto:<a href=3D"mailto:[email protected]= m" target=3D"_blank">[email protected]</a>><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0<mailto:<a href=3D"mail= to:[email protected]" target=3D"_blank">[email protected]</a> <mailto:<a= href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt;>> wrote:<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0the dar_stat= ic=C2=A0version is=C2=A02.7.13<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Il giorno me= r 2 apr 2025 alle ore 15:07 Trevisi Roberto<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</a> <m= ailto:<a href=3D"mailto:[email protected]" target=3D"_blank">jcclww2@gmail.= com</a>><br> >=C2=A0 =C2=A0 =C2=A0<mailto:<a href=3D"mailto:[email protected]" tar= get=3D"_blank">[email protected]</a> <mailto:<a href=3D"mailto:jcclww2@g= mail.com" target=3D"_blank">[email protected]</a>>>> ha scritto:<b= r> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0Ciao Denis,<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0you were right, there is a second dar command in the<br> >=C2=A0 =C2=A0 =C2=A0script<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0to test the created file (-t)<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0I put the "-Q" option to the second instance too, but the<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0anacron email with that message<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0is sent anyway.<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0I redirect all to a log file and, the strange thing<br> >=C2=A0 =C2=A0 =C2=A0is that<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0before I put the first "-Q" option<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0correctly I found two messages in log file, when I<br> >=C2=A0 =C2=A0 =C2=A0put the<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0first "-Q" option correctly I<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0found one message in log file, now that I put the<br> >=C2=A0 =C2=A0 =C2=A0second "-<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0Q" option correctly the<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0message there is no more in the log file, but anacron<br> >=C2=A0 =C2=A0 =C2=A0sends<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0the email<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0with that message anyway<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0Roberto<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0Il giorno mar 1 apr 2025 alle ore 19:34 Denis Corbin<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0<<a href=3D"mailto:[email protected]" target=3D"_blank">dar.linux@fre= e.fr</a> <mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a>><br> >=C2=A0 =C2=A0 =C2=A0<mailto:<a href=3D"mailto:[email protected]" tar= get=3D"_blank">[email protected]</a> <mailto:<a href=3D"mailto:dar.linux= @free.fr" target=3D"_blank">[email protected]</a>>>> ha scritto:<b= r> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0On 01/04/2025 18:52, Trevisi Roberto wrote:<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 > Hi Denis,<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Buongiorno Roberto,<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 > anacron keeps sending the email with=C2=A0the messag= e<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 > the dar command in the script is:<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 > /usr/bin/env dar_static -vm -vf -Q -z -D -R / -c<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"$file" \<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0par2 compress-exclusion --cache-d= irectory-<br> >=C2=A0 =C2=A0 =C2=A0tagging<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0-P boot/efi -P dev<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 > -P proc -P run \<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0-P sys -P tmp -P var/tmp -P var/c= ache -P<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0root/.cache \<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0-P home/user/.cache -P home/user/= snap/firefox/<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0common/.cache \<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0-P media -P cdrom -P mnt -P lost+= found &>><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"$logfile" &&<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 > I tried to put the "-Q" option immediately= after<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"dar_static" and, as above,<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 > after the verbose options, but in both cases<br> >=C2=A0 =C2=A0 =C2=A0anacron<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0sends the email<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0if -Q is passed to dar, dar just skips the display of<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0the message,<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0whatever is the context. Anacron has no power to<br> >=C2=A0 =C2=A0 =C2=A0change<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0that.<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0I have double check that the information from<br> >=C2=A0 =C2=A0 =C2=A0command-<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0line down to the<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0code triggering this message is properly propagated<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0(version 2.7.17, but<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0this par has not changed since 2.7.0 at least<br> >=C2=A0 =C2=A0 =C2=A0this the<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0behavior is<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0likely the same with any 2.7.x version).<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Can you check you don't have several lines<br> >=C2=A0 =C2=A0 =C2=A0calling dar<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0in you crontab<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0and/or anacron, for all users, and whether they<br> >=C2=A0 =C2=A0 =C2=A0all have<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0-Q option set?<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0By the way, which dar_static version are you using?<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0'dar_static -V' will tell you...<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Ciao,<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Denis<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0--<br> >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Sent from my Android devic= e with K-9 Mail.<br> >=C2=A0 =C2=A0 =C2=A0 ><br> >=C2=A0 =C2=A0 =C2=A0 ><br> > <br> > <br> <br> </blockquote></div> --000000000000b3ecd00631e53953-- --===============6028708531142380265== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6028708531142380265==--