I have a problem with activating CRON jobs for one of my customers.
The problem is that while migration to our server, our sys-admin didn’t transferred the CRON jobs and now, the old hosting account is closed, so the cron jobs are not exist anymore.
For that, I have to re-activate them again to execute on some interval of time and export articles in .csv / .txt file.
So, I need a little help, because there is a module that is used to export articles.
For now, there is only one way to do the exports:
- by hand, button of submit form is clicked and articles are exported
Also, the structure of module is like this:
Cron.php (In Controller directory)
So, I don’t know how to execute the ExportArticles.php script as a cron using Cron.php file because as I wrote in some of my previous posts, ExportArticles extends some class and I cannot execute it in the terminal.
Also, is there any way to execute the action from the submit button as a cron? Because as I mentioned above, the only option, for now, is to execute manually.
Thanks for your help!