I'm looking into migrating my Lucee Admin schedule...
# box-products
s
I'm looking into migrating my Lucee Admin scheduled tasks to ColdBox's new Scheduled Task manager. In the documentation I see this in regards to the onOneServer() directive:
This feature *ONLY* works when you are using a distributed cache like redis, mongo, elastic, couchbase or a JDBC CacheBox provider in CacheBox.
Is this referring to the default cache in CacheBox? Or does the scheduler have it's own cache?
Hup, nevermind, found the answer earlier on the doc page:
By default, all tasks are fixed to use the template cache when doing server fixation. You can override the cachename by a task by task basis or set the global default into the scheduler.
👍🏾 1
b
@seandaniels Before you look to deep into this, I think there are a couple bugs in that that I have tickets for in the ColdBox JIRA. Let me look and see if they are fixed yet.
The scheduler stuff is pretty cool, but I would personally consider the actual cache-based one server stuff to be a little sketchy still until all the stuff I reported in that ticket is fixed.
Feel free to play around with it, but actually test the muliti-server scheduling and don't assume it all works at this point 🙂
s
Cool thanks for the head's up. I actually have logic in my Scheduler.config() to only register tasks in our Ops environment, which is currently just one server. But eventually I do want to have additional servers in that environment so I will keep an eye on that ticket.
👍 1