i-net-software / dokuwiki-plugin-siteexport

DokuWiki plugin to export pages or namespaces to static html
https://www.dokuwiki.org/plugin:siteexport
GNU General Public License v2.0
24 stars 12 forks source link

Plugin Automation? #51

Open aj203355 opened 8 years ago

aj203355 commented 8 years ago

I'm trying to setup the plugin for automation. I read the README document and it references the three links generated at the bottom of the siteexport page that change based on the options you select. I also noticed the section that mentions the CRON functionality. Could you provide a little clarification on how to use all the mentioned items to automate the plugin?

gamma commented 8 years ago

I think the cron section does not really work - I thought I removed the code already ...

The other links can be used to run your own cron task. They represent the URLs and commands for wget , curl or the pure URL access. When calling any of the URLs/bash lines the export will be created and downloaded.

aj203355 commented 8 years ago

Yeah you removed the cron section. Wasn't aware there ever was cron code until you mentioned it so yeah its not there. I hate to bother but I've scoured the Internet and couldn't find any examples of using the cron.php file for automation. Would it be too much trouble to post an example of what would go in the cron.php file and how the crontab command would be constructed to create the cron job? On Feb 10, 2016 2:31 AM, "Gerry Weißbach" notifications@github.com wrote:

I think the cron section does not really work - I thought I removed the code already ...

The other links can be used to run your own cron task. They represent the URLs and commands for wget , curl or the pure URL access. When calling any of the URLs/bash lines the export will be created and downloaded.

— Reply to this email directly or view it on GitHub https://github.com/i-net-software/dokuwiki-plugin-siteexport/issues/51#issuecomment-182251765 .