Hey everyone! I've been really trying to build the habit of coding daily, but I keep forgetting. I'm looking for a way to automate reminders that can send me either an email or SMS every day. It's important that it works on multiple platforms like Windows, macOS, and Linux. Ideally, I'd like it to be written in C or JavaScript (Node.js).
Bonus points if it can run locally without a full server setup! I thought about using Node.js with node-cron and nodemailer/twilio, or C with some system scheduler and curl for sending messages. But I'm unsure about the best approach to ensure it's cross-platform and reliable.
Has anyone tried doing something like this or have suggestions on how to implement it? I'm looking for code snippets, library recommendations, scheduling tips, and potential pitfalls to avoid. Thanks in advance!
2 Answers
You're on the right track thinking about Cron jobs and Twilio for SMS notifications! Using Node.js with node-cron will allow you to run scheduled tasks easily. You can also create a Chrome extension for pop-up reminders if you're already using that browser. Keep it simple at first and build from there!
Node-RED is a decent option too. It's a visual programming tool that can help you automate tasks and handle notifications. Plus, it can run locally and interacts with various services like Twilio for SMS messages. Consider exploring that if you're open to different approaches.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically