0

I would like to get a help from you. I am trying to deploy my python script to google cloud and execute it as cron. I am unable to deploy it to google cloud as i am unable to it work. Can anyone help me with this? Thanks in advance.

1 Answer 1

3

In your use case, you have to deploy your python somewhere.

In both case, I recommend you to use container to package your code.

Then you have to schedule that runtime.

  • Call the Cloud Run Job execution API directly with Cloud Scheduler (Be careful, for now, you can't send parameters to your jobs, only trigger a run)
  • Call the Batch API directly with Cloud Scheduler and with the config in the body
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.