![]() Good question! If you have WSL ( Windows Subsystem for Linux) installed, and you only want to trigger actions based on time, then you should totally give crontab under WSL a shot!Īlthough there used to be issues with it (in past versions, WSL used to kill background tasks when you closed the console), I just gave it a shot, and had success. Or, for your own productivity or fun you want to script things to happen based on Window events.įor example, you could write a NodeJS script that talks to your project tracker of choice via API and stops any running timers when you lock your computer to take a break. Tons of reasons! Maybe you are trying to emulate a production environment that has NodeJS scripts as scheduled CRON tasks. If you don't use Windows, this post is probably not for you (but feel free to read anyways □♀️) Why? □ ![]() ![]() This is a post about using Windows Task Scheduler to automate the execution of NodeJS scripts, and other NPM / Yarn based tasks.
0 Comments
Leave a Reply. |