Periodic upload

Upload on a timer

In certain cases, your data might change hourly and you might want to update your datastore. You can configure your crontab to do this automatically.
Here's an example that uploads a new version of a datastore every hour:
1
#write out current crontab
2
crontab -l > mycron
3
4
#run datastore upload every hour every day
5
echo "0 * * * * grid datastore create --source data/path --name dataset" >> mycron
6
7
#install new cron file
8
crontab mycron
9
rm mycron
Copied!
Last modified 13d ago
Copy link