sorenlouv / fb-sleep-stats

Use Facebook to track your friends’ sleeping habits

Home Page:https://medium.com/@sqrendk/how-you-can-use-facebook-to-track-your-friends-sleeping-habits-505ace7fffb6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[HELP/ASK] How to set scrap, start to execute in 2 instances at startup?

Osandakj opened this issue · comments

Hello!
I have seen those *.bat files with multiple commands which u can simply create a shortcut in startup folder to run it at startup. How can I do the same thing in git cmd with sleepstat for scrap and start commands? (including cd obviously)
Please help. Thanks.

Simply creating a notepad file with 1 line of code for each instance (scrap and start) and saving as either .sh or .bat in fss root folder helped.

npm run scrape -> save as .sh/.bat

npm start -> save as .sh/.bat