One way to do this would be to have a cron job that uses a tool such as curl or wget to call subscription.php from the web server. This would then allow it to work on systems with out PHP installed - plus the hassle of installing all of the perl modules just for this one script to work.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.