I'm looking to throw in some custom parameters on a scheduled job, and I was wondering if this blog post by Mathias Kunto is still the one and only way to do it in Epi 10? His post is from 2012, so I was hoping that perhaps it's become easier/less dirty than how he outlines it, or maybe there's a different approach now? I couldn't find any other documentation though, and wanted to double check before diving into implementing it using his method.
There is no other method at the moment. fork.update.publish ;)
This post does describes how it can be done (note the oringal post has been removed and this is the archived version):
Also a side note (after reading post mentioned) - don't use ServiceLocator. Jobs support constructor injection as well.
Thanks everyone! I'll take that into account. I sppose I'll likely use Mathias Kunto's approach, or maybe just put settings on another GUI Tool plugin, or maybe the settings page.
Good to know :)
I would vote for plugin upgrade to v10 ;)