Koozali.org: home of the SME Server

affa options

Offline dmcdaniel

  • *
  • 6
  • +0/-0
affa options
« on: June 13, 2011, 02:51:56 AM »
I noticed that in the cron jobs that affa creates it uses the --watchdog= option. The numbers following vary widely, from 3600 to 50400 for the different times that affa runs. I cannot find any info about this parameter. Nothing in the man page, affa --help or http://wiki.contribs.org/Affa. Does anyone know where this is documented?

I am using Affa 2.0.0-rc4 on sme server 7.5.1.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: affa options
« Reply #1 on: June 13, 2011, 03:33:19 AM »
dmcdaniel

Quote
I cannot find any info about this parameter. Nothing in the man page, affa --help or http://wiki.contribs.org/Affa. Does anyone know where this is documented?

In the wiki article it says:

# Watchdog sends warning, if an expected backup did not run (SME Server only)
# Watchdog sends a daily reminder message, if the error continues unchecked (SME Server only)

Only applicable to jobs that backups a SME 7 server.
When a job is started, affa installs a watchdog script on the source in /etc/cron.d/, which sends a warning message, if the next scheduled job (taken from the TimeSchedule property + 10 minutes) did not run. This guarantees, that you will be notfied even in case of a affa server outage. The watchdog script send a daily reminder message, if the error continues. The next run job replaces the watchdog script with a new trigger time.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline dmcdaniel

  • *
  • 6
  • +0/-0
Re: affa options
« Reply #2 on: June 13, 2011, 03:42:49 AM »
Quote
In the wiki article it says:

# Watchdog sends warning, if an expected backup did not run (SME Server only)
# Watchdog sends a daily reminder message, if the error continues unchecked (SME Server only)

I had read that, but it is talking about the watchdog configuration parameter which takes a "yes" or "no" setting. It does not deal with the "--watchdog=<number>" command line argument which is what I'm asking about.