Skip to content

Conversation

@Anticmos
Copy link

Hi!

As I was making use of this project I ran into a case where if I ran the deploy twice it would not always overwrite the previous CRON job and I also did not have enough control over the name of the cron job for subsequent runs.

This can cause confusion as GCP will just spit out:

ERROR: (gcloud.scheduler.jobs.create.pubsub) ALREADY_EXISTS: Job .../jobs/cf_logs_cron already exists.

Please take a look at the addition of a new variable!

Looking forward to feedback.
Thanks!

shagamemnon and others added 24 commits March 5, 2020 14:25
According to [docs](https://cloud.google.com/functions/docs/migrating/nodejs-runtimes) and warning emails 

> The Node.js 8 runtime will be deprecated on 2020-06-05

At moment I'm connecting our cloudflare to gcp, and decided to set node to 10 can confirm that everything working
* Added Spectrum schema and bash $SCHEMA variable.

* type fix for Spectrum schema

* add $SCHEMA to automatic install

* fix README.md

* fix capitalization

* Update cloudshell.md

Co-authored-by: Frank Taylor <[email protected]>
`logpush-to-bigquery` is now compatible with Cloudflare Logstream! 
* log files are now batched and inserted into BigQuery on a cron
* HTTP / default schema was updated
@Anticmos
Copy link
Author

@shagamemnon
Any thoughts?

@shagamemnon
Copy link
Contributor

Thanks @Anticmos. Can you please create a default string value for the CRON_JOB_NAME in deploy.sh, for example:

# deploy.sh
CRON_JOB_NAME='cf_logs_cron'

@Anticmos
Copy link
Author

Anticmos commented Jun 6, 2023

@Anticmos
Copy link
Author

Anticmos commented Jun 12, 2023

@shagamemnon Any updates on this?

@Anticmos
Copy link
Author

@shagamemnon Any updates on this?

z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants