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.