Try the system wide cron nano /etc/crontab
add this line at the end to run every minute so that we confirm if it ran:
* * * * * root /usr/bin/wget -O - https://website.com/export-txt.php >> /home/mydomain.com/public_html/output.txt
why wget its just my preference.