<FromGitter>
<elorest> @tekanic You could also use encrypted amber sessions by default. Just make sure that your app reads the `Set-Cookie` header and sends back the `Cookie` header. No real reason to reinvent the wheel and just use different header names.
<FromGitter>
<elorest> ifconfig
<FromGitter>
<damianham> Amigos - I have created a new recipe that uses Material UI for a mini persistent drawer menu. There is also support for JWT token authentication, live data streaming and a few other goodies for a more pleasant UX. I would appreciate it if anyone has the time to take it for a spin and let me know what you think. TIA
<FromGitter>
<drum445> Have you got a link my friend?
<FromGitter>
<rmarronnier> Hey all, I need to implement a recurrent job in my amber app (deleting inactive user accounts after 30 days for example) without using an external app like cron or sidekiq. What would be the best way to do that ?
<FromGitter>
<konung> Take a look at Mosquito shard
<FromGitter>
<konung> Which is similar to Sidekiq but easier to setup.
<FromGitter>
<Blacksmoke16> `without using an external app like cron or sidekiq`
<FromGitter>
<Blacksmoke16> but yea, without cron or a runner like that im not sure how you would automate that
<FromGitter>
<konung> I donβt think there is a built in way in Crystal itself to have a process / service that would sit and trigger your jobs periodically . Unless you write a program to do that. And you did , you would be reinventing Cron .
<FromGitter>
<Blacksmoke16> only using cron would be just setup a private endpoint that cron hits up every x hours
<FromGitter>
<Blacksmoke16> that triggers the logic
<FromGitter>
<konung> π
<FromGitter>
<Blacksmoke16> mosquito has cron style jobs
<FromGitter>
<Blacksmoke16> if you dont want the extra dep, using normal cron with an endpoint would prob be an okay alternative
<robacarp>
@rmarronnier you can do a spawn {} in your app, if you want
<robacarp>
I've messed with spawning the mosquito worker in the app.cr instead of as a different process, but I'm not comfortable recommending that because if your jobs are long running or something it can take down your ability to respond to web requests