Do you want to run your code each two hours instead of 24 hours? Do you want to have Cron Service run for a total of 24 hours?
Schedule is to be specified in your case as: "<schedule>every 2 hours </schedule>" in your cron.yaml file, to have your job run every 2 hours. The App Engine Cron Service allows you to configure regularly scheduled tasks that operate at defined times or regular intervals. It is not possible to limit the duration Cron Service runs for you to only 24 hours: the main use of the service implies re-occurrence and repeated tasks. You may gather more detail from the "Scheduling Tasks With Cron for Java" (if you use Java) documentation page <https://cloud.google.com/appengine/docs/standard/java/config/cron>. More on cron.yaml syntax on the "Scheduling Jobs with cron.yaml" page <https://cloud.google.com/appengine/docs/flexible/java/scheduling-jobs-with-cron-yaml> . You are most welcome asking more detailed questions, if the above does not address your issue in its entirety. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ea829668-da03-46ca-be65-3d2528e27ee7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
