Quote:
Originally Posted by kh99
I don't think there's anything in the maintenance menu that should have to be run regularly, which is probably why it's there and not in a scheduled task already.
|
Thank you for good idea. I think for example generating similar threads should be done automatically, not at every new thread creation as vbulletin offers, but like every 24 hours or even weekly on big boards.
So i step forward duplicating and renaming misc.php file and made a modiffication there:
Code:
if (!can_administer('canadminmaintain'))
{
echo "Have rights..)";
// print_cp_no_permission();
red text shows what was added by me.
then i tried to add cronjob this way:
wget -O
http://myforum.com/admincp/misc.php?do=updatesimilar /dev/null
wget
http://myforum.com/admincp/misc.php?do=updatesimilar
curl
http://myforum.com/admincp/misc.php?do=updatesimilar
But none of these makes a new entry into Control panel log (
http://myforum.com/admincpilf/adminlog.php?do=choose)
It seems liek that the output is vbulletin admin login page.. how to skip this?
Please anyone know if the job was run properl and its correct that there is no entry in log?
How to tweak it further to work? (PS i know making above notiffication makes a vulnerability, so this is only temporary change and i will then rename file to something other..?