I have created a module for collecting customer data from the Magento database and sending them as a CSV file to another server by hitting the controller URL in browser.
Now, I want it to be send automatically so that I want to set a CRON job.
So in order to create the CRON job, I have referred the below tutorial:
However, when I run the cron, the file is not being send to another server. But, when I check the log file, I can see the CRON was ran successfully.
I'm not sure what am I missing. Could anyone please guide me?
Your help will be appreciated!