Automate your render services so that you can suspend and resume services without waking up from your sleep.
-
On your render dashboard, locate the service name and supply it within the
main
function [Comment left for direction]. -
To install dependencies run
npm install
-
To run script
npm start
Automate with your favourite runner. [cron job, cronofy, etc.]
That's it.
'Service suspended!': Your service has been suspended.
'Service resumed!': Your service has been resumed.