Page 1 of 1
Cron creates the file
Posted: Thu Oct 06, 2016 9:12 pm
by luckywonder
Hello,
I want to ask, whenever held cron
"wget http://mydomain.cum/cron.php"
It created the folder "home/user/" file "cron.php" or "cron.php.1,cron.php.2 ..... " where the content offered by cron.
Wondering how to get rid of it, so it does not create these files?
Re: Cron creates the file
Posted: Fri Oct 07, 2016 7:52 am
by ScIT
Hi
Is the cron.php on your server? If yes, just use php to run the cron.php.
Alternative the following command should be usefull:
Code: Select all
wget -qO- http://mydomain.cum/cron.php &> /dev/null
Best Regards
Raphael
Re: Cron creates the file
Posted: Fri Oct 07, 2016 11:58 am
by luckywonder
Try, thank you.
You do not know how to change it globally to this, clients do not enter and enter only the url address? Not every enters it this way and I was then doing mischief and clients takes up unnecessary space.
Re: Cron creates the file
Posted: Sat Oct 08, 2016 9:27 am
by ScIT
luckywonder wrote:Try, thank you.
You do not know how to change it globally to this, clients do not enter and enter only the url address? Not every enters it this way and I was then doing mischief and clients takes up unnecessary space.
Where do customers enter that?