Update

I now have it setup like this...

Code

#!/usr/local/bin/php
<?
set_time_limit(300);
/*
# UBB.threads, Version 6
# Official Release Date for UBB.threads Version6: NO DATE YET

# First version of UBB.threads created July 30, 1996 (by Rick Baker).
# This entire program is copyright Groupee, Inc., 2005.
# For more info on UBB.threads and other Groupee Services
# visit http://www.groupee.com/ & https://www.ubbcentral.com/

# Program Author: Rick Baker.
# File Version 6.5.4

# You may not distribute this program in any manner, modified or otherwise,
# without the express, written written consent from Groupee, Inc..

# Note: if you modify ANY code within UBB.threads, we at Groupee, Inc.
# cannot offer you support-- thus modify at your own peril :)
# ---------------------------------------------------------------------------
*/
// Require the library
   require ("../../includes/main.inc.php");
   require ("$thispath/languages/{$_SESSION['myprefs']['language']}/subscriptions.php");
   $html = new html;
   $mailer = new mailer;


I now get this error

#!/usr/local/bin/php
Warning: Cannot modify header information - headers already sent by (output started at /usr/wwwroot/ddehek/newzealandnz/discussions/cron/php/subscriptions.php:2) in /usr/wwwroot/ddehek/newzealandnz/discussions/ubbt.inc.php on line 122

Fatal error: Maximum execution time of 300 seconds exceeded in /usr/wwwroot/ddehek/newzealandnz/discussions/cron/php/subscriptions.php on line 102

Just incase it helps some clever person!