Permalink
Browse files

bigquery cronjob

  • Loading branch information...
1 parent 8c320fb commit 13602c28b17713031c41c5b49728fd477b23e96b @igrigorik committed Apr 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 bigquery/bq.cron
View
@@ -0,0 +1 @@
+5 * * * * /bin/bash -l -c 'wget -P /tmp http://data.githubarchive.org/`date +"\%Y-\%m-\%d-\%k" -d "1 hour ago"`.json.gz && cd /home/archiver/githubarchive/bigquery && ruby sync.rb -f /tmp/`date +"\%Y-\%m-\%d-\%k" -d "1 hour ago"`.json.gz --no-sync' > /var/log/bigquery.log 2>&1

0 comments on commit 13602c2

Please sign in to comment.