Running an external file by DA cronjobs

aionets

Verified User
Joined
Jul 19, 2018
Messages
17
Hello,

Would you please mention if this would be possible to run an external file like "https://domain.com/file.php" using DA cronjobs ?

It is really vital for me ... if not would you please let me know if there is an another way to do it?

Thank you in advanced.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,004
Location
Maastricht
Maybe, but this could make the server insecure, there are maybe other options you can use, I found this page for you.
It's old, but lynx for example still exists.
Maybe it's of some help.
 

aionets

Verified User
Joined
Jul 19, 2018
Messages
17
Dear Richard,

Thank you very much for your reply.

To solve this issue I made my cron file to be accessible to browsers, then made the cron folder only accessible to DA's server IP address (for security reasons). And then use this cron command:


Code:
curl https://domain.com/cronfiles/cron.php
And thanks to DA it works perfectly.

All the best,
Al
 
Top