The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
Without naming 3rd party sites, can you please tell me how to use a 'free cronjob' site to manipulate my webspace (such as backups).
The sites I have seen say enter full URL.
I have a cron helper script that needs to be run as a command line, so won't work as a URL.
I have another URL for a front-end backup which also appears not to work but is a parameterised full URL.
I'm stumped.
Neil
Also cron is the standard *nix task scheduler. Its not part of apache, so installing that locally wont help you. You could use the windows task scheduler though. So you might be able to install php locally and run your script that way but I've no clue whether its capable of acting on remote installations of joomla (my guess is no).
I just thought...
If I run Apache (XAMPP) locally, can I set up cronjobs that way? If so, is it easyish to 'install' a crontab tool?
N.
> I notice that the first thing in the croninclude.php file is:
>
> // Make sure we are being called from the command line
> if( array_key_exists('REQUEST_METHOD', $_SERVER) )
> die("Access Forbiddenn");
>
> :(
Ahh that may well be causing the issue, you will need to remove that if statement to hack it to work from a URL rather than path.
// Make sure we are being called from the command line
if( array_key_exists('REQUEST_METHOD', $_SERVER) ) die("Access Forbiddenn");
:(
http://yoursite.com/cronfolder/cron1.php
Like I said previously you can check the script to see if the cron is working correctly by visiting the same URL in your browser.
"In order to use these scripts, create a CRON job on your server's control panel which calls a command similar to:
/path/to/php
The cron1.php has:
$config = array(
'verbose' => '1',
'siteurl' => 'http://www.
'profile' => '1',
'secret' => 'default',
'postop' => 'email',
'email' => 'webmaster@
'ftphost' => 'vipxx.freeola.net',
'ftpport' => '21',
'ftpuser' => 'vipxxxx',
'ftppass' => '
'ftpdir' => '/htdocs/beta/vs'
);
require_once('croninclude.php');
The Joomlapack people say this cannot be used as a full URL.
The other job is GuardXT (Joomla security) says to have a command:
The htdocs/beta directory and the 'site' administrator directory are both basic auth protected.
URL Example: http://yourdomain.com/crons/forum-cleanup.php
Any reason you want to pass params to the script? A cron generally is built to do a task over and over again without needing any changing parameters.
Also what command line only features are you trying to use?
Without naming 3rd party sites, can you please tell me how to use a 'free cronjob' site to manipulate my webspace (such as backups).
The sites I have seen say enter full URL.
I have a cron helper script that needs to be run as a command line, so won't work as a URL.
I have another URL for a front-end backup which also appears not to work but is a parameterised full URL.
I'm stumped.
Neil