Inside our on-premises SharePoint server, we have many background jobs which runs as follow:-
1) Using Windows Tasks Scheduler we define some c# console applications which run daily and hourly.
2) We define the tasks to run under the site collection administrator account, so we do not have to store the password inside the console applications.
Now we are planning to migrate to office 365, and turn off the on-premises server. so i am not sure what is the alternative to using Windows Task Scheduler in the Office 365 world? in a way that allow us to run the tasks in a schedule basis under the site collection admin or Office 365 admin username/password ?