Jump to content

What Is The Recommended Way For Cron Tasks Associated With Modules?


Mickey

Recommended Posts

I'm currently developing a module for proxmox & would like to include bandwidth limits.  Proxmox does not have a reliable way to track bandwidth usage so the accounting has to be done outside of proxmox.  I currently have a seperate plugin setup to track bandwidth for this module via cron tasks.  Is this the recommended way?  or should I put in a feature request to be able to execute cron tasks from a module?

 

I guess I could make a generic plugin that executes crons for any module that implements the cron function & go that route.  What was the intended way from the devs for modules to be able to perform scheduled tasks?  Or was it not expected that modules would need to?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...