I am making a plugin which has a controller to be called every hour.
My server environment is using Anacron.
So I wrote this anacron job:
1@hourly 0 cron.hourly wget http://www.mydomain.com/actions/controlername
And I got 2 questions:
- How to log my cron job into a file on the server? (so I can follow when it has been triggered)
- What is the best way to log and follow my controller actions in Craft CP side?