Hello. I was going to upgrade my account to one of the paid plans in order to configure a always-on-task which would be responsible for scraping. Then I read some topics.
As far as I understood, sleep() function does not consume CPU-time but even though program is in sleep, the open browser can consume my CPU-time. Is that correct? My code keeps chrome open all the time. Would altering the code to open Chrome only when sleep() is inactive and scraping has just started help?
And I don't want to use scheduled tasks because scraping will be done very often, every minute or so.
What else do you recommend to me?