Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created April 22, 2018 15:27
Show Gist options
  • Save zoffixznet/ce0fbf08f869cb2f1ce96b40c5f3a7ad to your computer and use it in GitHub Desktop.
Save zoffixznet/ce0fbf08f869cb2f1ce96b40c5f3a7ad to your computer and use it in GitHub Desktop.
#!/bin/bash
source ~/perl5/perlbrew/etc/bashrc
set -e
echo '';
echo 'New run at'
date
cd ecosystem/
git pull -q -n
perl server/updatelist.pl /var/www/ecosystem-api.perl6.org/ || true
cd
cp update.log /var/www/ecosystem-api.perl6.org/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment