I want to devise a Hazel rule that will act when my MacJournal database has closed/finished saving, but it's not clear how I can ensure the MJ Dbase is available before the rule starts to act. Effectively this would be when I quit MacJournal, but the file would need to autosave before the Hazel rule starts to apply. The full sequence would be:
On closure (of file Macjournal.data),
archive/compress file MacJournal Data
upload to folder DropBox/Apps/Macjournal backups
An alternative would be to upload to Box.
The reason for compressing the database to .zip is that DropBox and other cloud services have a habit of messing up package files so it's best they see a single file.
I'm sure this is very simple so I'm probably missing something....