I'm curious about the best ways to test plugins in development, especially those that are triggered by a scheduled task in cron.
When I'm writing code, I include print screen output at strategic points to give me information about how my code is working. Then I run cron through the browser interface and watch the output on screen. It works fine but is agonizingly slow. I can only set my scheduled task to run every minute at the most, which means that every time I tweak the code, I have to wait up to a minute to test it. And if I don't run cron at precisely the top of the minute, I miss the whole process and have to wait another minute to try again.
There has to be a better way, but I don't know what it is. I would love it if folks shared their testing methods so I can learn to test more efficiently. Thanks for helping me figure this out!
One bit of information: I do have access to my server's command line, but I do not have super user permissions, so I'm limited on what I can do there. For example, I tried to run cron by entering "php /path/to/cron.php" and received "Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting."