Ask Your Question

Revision history [back]

There are a few ways to schedule a Google Colab notebook to run at a certain time every day:

  1. Google Cloud Scheduler: You can use Google Cloud Scheduler to trigger a Cloud Function that runs your Colab notebook at the specified time. Here's a tutorial on how to set up this workflow: https://towardsdatascience.com/schedule-your-notebooks-on-gcp-in-3-steps-14eb41ca5803

  2. Google Compute Engine: You can create a virtual machine instance on Google Compute Engine and use a cron job to run your Colab notebook at a specified time. Here's a tutorial on how to set up this workflow: https://medium.com/@shivam.rawat_911/run-google-colab-notebook-on-gcp-virtual-machine-instance-863af47d0c03

  3. External services: You can use external services like Zapier, IFTTT, or Selenium to automate the process of opening and running your Colab notebook at a specified time. Here's a tutorial on how to set up this workflow using IFTTT: https://towardsdatascience.com/run-google-colab-notebooks-with-ifttt-triggers-and-google-drive-8cc856fa876a