Support

Admin Tools

#14867 cronjob

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Monday, 04 February 2013 01:53 CST

rincewind

Joomla! version:2.5.8
PHP version: 5.3,5.2,4.4
MySQL version: 5
Host: localhost
Admin Tools version: last

memlimit:64mb

maxexectime 45

Description of my issue:

i try to make a cronjob for filescanner with serverpath, my serverlog says it happens:

xxx - - [02/Feb/2013:21:50:01 +0100] "GET /www.webdesign-plus-services.de/cli/admintools-filescanner.php HTTP/1.1" 200 1783 "-" "Alfahosting GmbH - Cronservice"

 

but there appears no log in admintools of it

i try 2 path:

1)usr/local/bin/php  /var/www/wxxxx/html/joomla/cli/admintools-filescanner.php

 

2)var/www/webxxx/html/joomla/cli/admintools-filescanner.php

 

both appears in serverlogfile, i also try over url, that also appears there, but not in admintoolslog-

 

I need cronjob-scans because a lot of my sites were under attack and i want to know if my repairs close the hole and dayly log in all sites isn't most efficient.

 

Are there tools for admintools-cronjobs which spare logins?

nicholas
Akeeba Staff
Manager

You MUST NOT attempt to access anything in the cli directory through the web server. "cli" stands for "command line interface". The scripts in there are supposed to only be run from the command line version of PHP. If your host doesn't support regular CRON jobs, which runs in a command line environment, you cannot use admintools-filescanner.php. This seems to be the case here. Your server only allows "fake" CRON jobs, i.e. accessing a URL on predefined time intervals. This won't cut it. You need real CRON jobs. Ask them.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

rincewind

your right, only fake-crons, can not get command line there without buying an expensive server.

thanks for answer

 

ps offtopic:

i need only a prog(fake-cron) tellin me if my htaccess has changed, you know something like that?

nicholas
Akeeba Staff
Manager

your right, only fake-crons, can not get command line there without buying an expensive server.

Really? My personal blog is hosted on Rochen for about $100 per year and I have regular CRON jobs. I'm sorry to break the news, bt your host is full of cow dung. They are trying to upsell you to a dedicated server with SSH login access (which you don't need) instead of giving you access to regular CRON jobs. My advice? Move to a different host.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!