Skip to content

Instantly share code, notes, and snippets.

@vjvelascorios
Last active April 27, 2024 07:11
Show Gist options
  • Save vjvelascorios/f30ca045789b1ec7efc0ee5595f915c9 to your computer and use it in GitHub Desktop.
Save vjvelascorios/f30ca045789b1ec7efc0ee5595f915c9 to your computer and use it in GitHub Desktop.
basic task programming execution and push
# Running Rscript
$fecha = Get-Date -Format "yyyy-MM-dd"
Start-Process "Rscript.exe" -ArgumentList "C:\Users\vjvelascorios\Documents\weekly-cran-packages\code\CRAN Package Tables WindowsVersion.R" -NoNewWindow -Wait
# repo update
cd "C:\\Users\\vjvelascorios\\Documents\\weekly-cran-packages"
git add .
git commit -m "Weekly update - $fecha" #not tested with "fecha" legend
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment