Closed siddhartha-gadgil closed 5 years ago
SHELL=/usr/bin/bash
*/2 * * * * /home/gadgil/ziploy.sh /tmp/webpage &>> /tmp/ziploy.log
/tmp/webpage
should be replaced by the correct target or use default.SHELL=/bin/bash
0 * * * * /home/gadgil/code/DeptWeb/mktar.sh &>> /home/gadgil/mktar.log
Ziploy is a nice name!
Many attempts have failed. Instead there is simplified deployment from sparrow.
A better way to manage deployment may be to use sparrow as a jekyll server. Individual steps have been tested and timed (total time less than a minute), but scripts are not yet written.
On Sparrow
zipsite
.zipsite
- thenode-js http-server
is installed and I have used it many times.On math
A script to:
Running and
cron
math
will have scripts which can be triggered manually and will also run as cron jobs.math
should be run as root.