[buildout]
extends = ${instance-pbsready:output}
parts += cron-entry-backup [urls] notification-id = http://[$${notifier:host}]:$${notifier:port}/get/$${notifier-exporter:name} #notify launches executable, and once it's done, notifies the pull-backup-servers. [notifier-exporter] <= notifier recipe = slapos.cookbook:notifier.notify name = exporter title = Dumping $${slap-parameter:namebase} executable = $${exporter:wrapper} wrapper = $${rootdirectory:bin}/exporter notify = $${slap-parameter:notify} #adds the exporter to cron [cron-entry-backup] <= cron recipe = slapos.cookbook:cron.d name = backup frequency = 0 * * * * command = $${notifier-exporter:wrapper}