Open ionutm80 opened 3 years ago
Have you tried updating to the latest version of the script?
Getting the same error. Script is v1.3. Despite the error message, the script works and I get the emails.
However, I've remade the script and the error doesn't appear anymore. It also seems to have fixed the date-from-last-scrub which was completely broken since the upgrade, and shows the accurate date now. So, rebuild seems to have fixed it
I was getting the Same Date Error in a 2nd Email, after using ensuring I have the latest version (1.3).
There is an option in TrueNAS in the Cron Job to: Hide Standard Error. That stopped me from getting the 2nd Date error email.
Thanks for the hint!
On Wed, Jun 30, 2021 at 1:25 AM wpnz @.***> wrote:
I was getting the Same Date Error in a 2nd Email, after using ensuring I have the latest version (1.3).
There is an option in TrueNAS in the Cron Job to: Hide Standard Error. That stopped me from getting the 2nd Date error email.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/edgarsuit/FreeNAS-Report/issues/25#issuecomment-870959429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQHBLQVQR3FRKVYSAUIQNEDTVJB4HANCNFSM4YZODQTQ .
Hey, I'm getting this error message when the script is running after upgrading to TrueNAS 12. Do you have any ideas what's wrong? What is messed up?
Thanks!
date: illegal option -- 0 usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHMS]] [-I[date | hours | minutes | seconds]] [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] date: illegal option -- 0 usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHMS]] [-I[date | hours | minutes | seconds]] [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]