Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chris Hardie

    (@chrishardie)

    Thanks for your interest @tuempelkoenig! Having a user who actually wants to use this feature is good inspiration for me to work on it. ??

    My thought is to add a setting that lets the site owners pick a time of day and day(s) of the week to generate the PDF and store it in the media library. Then, the site would automatically do that at the scheduled time.

    Would that work for your purposes? Let me know if you have other suggestions or ideas about how it should work.

    Related: https://github.com/ChrisHardie/printable-pdf-newspaper/issues/7

    Thread Starter Tuempelkoenig

    (@tuempelkoenig)

    Hi Chris,
    thanks for your quick response. Actually, I have a pretty specific usecase, but I think your plugin could be a good starting point:
    I am using the Restrict Content Pro plugin that generates HTML invoices (those are pretty basic HTML templates that get filled with payment/customer data using parameters). I need to fetch (or save them on the server) the invoices as PDF once a month to import them into my accounting software.
    RCP had their own PDF library implemented some time ago but moved to the HTML solution to keep the plugin more lightweight.

    Overall, I guess there should be a market for such a plugin, as there are SaaS that provide this feature as a business model (f.e. invoicefetcher.com), but for data security reasons I’d like to not rely on a third party provider.

    If adapting your plugin to such a need, I could offer to provide you with my RCP unlimited license to check it out.

    Regards
    Timo

    Plugin Author Chris Hardie

    (@chrishardie)

    Thanks, Timo. It sounds like your use case is different enough from the core functionality of this plugin that it probably won’t make sense to use it for those needs. But the library I used for local PDF generation, https://tcpdf.org, is open source and available, and could be customized for that kind of a workflow.

    I’ll continue to work on adding the cron-based PDF generation for this plugin, so stay tuned. I’ll close this topic for now but if you have other questions let me know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cron Job’ is closed to new replies.