manetta
5 years ago
2 changed files with 9 additions and 5 deletions
@ -1,10 +1,14 @@ |
|||||
|
date >> cron.log |
||||
|
echo "cronjob started!" >> cron.log |
||||
|
echo "" > cron.log |
||||
|
|
||||
# This will dump all the pads with a __PUBLISH__ tag into a folder "publish" as meta.json, txt, html and dhtml |
# This will dump all the pads with a __PUBLISH__ tag into a folder "publish" as meta.json, txt, html and dhtml |
||||
etherdump pull --all --meta --text --dhtml --publish __PUBLISH__ --publish-opt-in --pub ./publish --fix-names --no-raw-ext |
/usr/local/bin/etherdump pull --all --meta --text --dhtml --publish __PUBLISH__ --publish-opt-in --pub publish --fix-names --no-raw-ext |
||||
|
|
||||
# This will make an index for the dump |
# This will make an index for the dump |
||||
etherdump index input \ |
/usr/local/bin/etherdump index input \ |
||||
./publish/*.meta.json \ |
publish/*.meta.json \ |
||||
--order lastedited \ |
--order lastedited \ |
||||
--templatepath ./templates \ |
--templatepath templates \ |
||||
--title "etherdump @ Varia" \ |
--title "etherdump @ Varia" \ |
||||
--output index.html |
--output index.html |
||||
|
Loading…
Reference in new issue