Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Hi again,
This time i'm asking you about how to make the cron works you already have this functionality in the admin section
and the cron in files/cron/index.php
I have a script that i needed to be executed every 24 hours
could you help me or tell me the steps to make it work
thanks in advance
Hi,
Cron script is not designed to include self scripts.
You must extend cron script to get you own.
It is not /cron/index.php
It is /model/Cron.php
Have a look at run() method, it runs two functions : checkDates() and checkImport()
where are the function that your are talking about because in file/cron/index.php it doesn't have anything
It is /model/Cron.php
So if i did understand correctly the model/cron.php will execute the script that i would declare in the files/cron/index.php this way:
<?php
header('Location: ...////link to my script ');
is this correct ?
Not at all :S
You have to develop your own code to adapt /model/Cron.php
There is nothing automatic.
I don't know where you got the idea to put some parameter in index.php : it is a defaut page to assure that even if your apache configuration is wrong, no direct web acces to the folder is allowed.
Alright then
thanks 🙂