Open carthis opened 11 years ago
It only sends you an email if there has been a change to your logbook in the preceding period. If you don't log a new flight, you won't get an email. Also, is your email correct?
Email is correct, and I've logged about 250h since May, all entered into the logbook. They're not being redirected to spam, and pressing the manual backup button works fine.
I received an automated backup on backup-2013-10-21.tsv so it doesn't seem entirely broken.
Most likely, your particular email is not being sent. I'd have to check the email log, but it is possible your email provider is marking all of flightloggin's mail as spam. Are you using yahoo mail by any chance? This happened before with yahoo, but it may have happened again.
Nope, it's not being sent to spam. I'm on Gmail. Like I said, it was working fine, and then May 29, 2013 was the last automated one I received. Now I only receive the manual backups when I hit the button.
... hmm I'm not sure whats causing it then. I'll look into it some more...
You should make the backup page show the status/timestamp of the last automated and last manual backups.
You could also make a process that monitors the /var/log/maillog and scrapes out lines that reference the message-id of any automated or manual backup, and display those log lines on the backup status page for that user.
Theres a management command that handles the automatic backups (which get called from cron). That process knows if the mail is sent or not. Currently, the status of the email gets written to a file, but that could change to being stored in a BackupHistory
model (or something), which can then be displayed on the backup page.
This issue is still occurring. Only the manual backup works.
The automated email logbook backup hasn't worked since approximately May 2013. A manual backup initiated from the website works fine.