Posts

Showing posts with the label mongodb

Task Scheduling With AgendaJs and MongoDB

This was a project I wanted to start for my consulting project however my team was using TopShelf to create windows service and handled timers in the main loop. Which is fine but if you wanted to look up execution logs, like last run or if it was currently running you had to be on the machine. Checking the service status, and system logs. Later we used the database with nlog to help us but I think hangfire would have been a improvement. Side not for my calendar project this would have been the route I would have taken for the backend service or at least started looking at. https://thecodebarbarian.com/node.js-task-scheduling-with-agenda-and-mongodb https://medium.com/hacktive-devs/nodejs-scheduling-tasks-agenda-js-4b6824f9457e https://dev.to/andre347/how-to-create-a-task-scheduler-in-nodejs-4lo2 https://github.com/agenda/agenda https://nosqlbooster.com/home https://github.com/timgit/pg-boss/blob/master/docs/usage.md

Mongodb Cheatsheet

Image
This cheat sheet is based on the latest version of mongodb, which initial had setup and didn't encounter any problems. However that all changed when I was working remote and forgot I disabled the port no my network, rather than with the server. So I went pointing around where I didn't need to and ended up messing things up. The Best tutorial out there is of course on digital ocean for my setup on ubuntu 16.04 , this articles isn't so much about getting setup. I just wanted to include it because I found myself looking back at it to see if I missed a step. Bugs/Problems Now comes all the messed up things I found and had to deal with. firewall - Port seems to be open, but connection refused try using 0.0.0.0 in the bin_ip for the /etc/mongo.conf try sudo ufw disable and check to see if it works without the firewall (probably still wont but worth a shot), then just sudo ufw enable. Make sure port 27017 is open. Then check this  linux - Connection refused to MongoDB e...

Popular posts from this blog

Aspetcore: NLog with Postgresql

Mongodb Cheatsheet

Installing Windows on Acer chromebook 15 cb3-532