Lindani Phiri <[email protected]> writes: > Thanks Stephen! > Will check it out. > > L. > > On Fri, Oct 7, 2016 at 12:49 PM, Stephen Benjamin <[email protected]> > wrote: > >> >> >> ----- Original Message ----- >> > From: "Lindani Phiri" <[email protected]> >> > To: "foreman-dev" <[email protected]> >> > Sent: Friday, October 7, 2016 12:33:48 PM >> > Subject: [foreman-dev] Plugin Job scheduling >> > >> > What options do we have scheduling jobs for a foreman plugin? >> > >> > The requirement I have is for some scheduler to trigger code in my plugin >> > at set intervals. >> > >> >> https://github.com/theforeman/foreman-tasks >> >> There's a bunch of plugins that use it, including katello, foreman_salt, >> and >> foreman_remote_execution.
FYI: we are currently in process of getting even some Foreman core things to run via foreman-tasks and we expect even more work to be done in this area pretty soon. You can also checkout the remote execution documentation on how it's being used right now [1] Could you talk more about your plugin requirements? [1] - https://theforeman.org/plugins/foreman_remote_execution/0.3/index.html#3.2ExecutingaJob -- Ivan >> >> >> You could also opt for rake tasks + cron jobs, if you need something >> similar, which is what foreman core itself does. >> >> - Stephen >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "foreman-dev" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/ >> topic/foreman-dev/VGBiJCoqf6I/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
