I need help to run a modx dynamic page from a cron job. My cron job runs with an actual file on my server but if I try using a modx document it is ignored. I’m guessing it’s cause cron is looking for a file on the server rather than a dynamically created file/document.
Has anyone came across this or have an answer? I have tried wget and lynx options in the cron without any luck. The cron says file not found.
Thanks!
Using index.php?id=25 doesn’t work either?
If it can’t handle friendly urls (by-passing .htaccess, probably), the index.php file is actually available and specifying the ID could fix that problem.