After I posted the last message I did a search on cron on this forum and found that as well.
I edited admdump.php so the pertinant section looks like this
// uncomment the lines below if you wish to run this script via command line
fud_use('adm_cli.inc', 1); // this contains cli_execute() function.
// when using this the script accepts 2 arguments
// php admdump.php /path/to/dump_file [compress]
// compress is optional and should only be specified if you want to datadump to be compressed
/* check for cli arguments */
if (defined('forum_debug')) {
if (empty($_SERVER['argv'][1])) {
exit("Usage: php admdump.php /path/to/dump_file [compress]\n");
}
$_POST['submitted'] = 1;
$_POST['path'] = $_SERVER['argv'][1];
if (!empty($_SERVER['argv'][2])) {
$_POST['compress'] = 1;
}
}
however when I run it from the command line here is the output:
php admdump.php
Status: 302
Content-type: text/html
X-Powered-By: PHP/4.3.4
P3P: CP="ALL CUR OUR IND UNI ONL INT CNT STA"
Set-Cookie: fud_session_1130263541=e49b4bb0261edc194505c6aa942a4393; expires=Wed, 02-Nov-05 13:39:58 GMT; path=/forum/; domain=.ccgworkshop.com
Location: http://www.ccgworkshop.com/forum/adm/admloginuser.php?S=e49b4bb0261edc194505c6aa942a4393
Due to the lack of parameters it should have kicked back and error message. So what am I missing?