Enable extensions for dayjs I was working on a small project to sharpen my Javascript and Typescript skills. Nothing fancy.
The project deals with data calculations, and I was looking for a modern replacement of momentjs. I found dayjs, which seemed to be a suitable replacement.
As I mentioned, I had to find the number of days between the two dates. The documentation of dayjs mentioned a method to calculate the difference between two dates as duration.
Kicking Nextcloud Cron Script from TrueNAS Cron Job Tl;DR I’m running TrueCharts Nextcloud in my TrueNAS SCALE at home. After the setup, I discovered that none of the cron jobs was running. I’m using the Nextcloud News App and never saw any new stories. I didn’t find a way to make the Nextcloud cron work, so I decided to have a cron job that runs every hour to kick the Nextclodu cron job in the Nextcloud docker container.
Well, Crap, what a waste of time One would guess that I should have known better with the work experience I accumulated in the software engineering field.
But, it’s Friday evening, after our social team meeting, and I am still excited to finish something substantial for this feature that I’m working. Lots of moving parts, refactored code, loose ends, and hastily glued together code without any safety net. A couple of new unit tests for the new feature and some legacy code that I have to touch.