How can I execute my cron class in command line especially for testing.
normally one could
php -f myfile.php
Calling a method's class:
php -r 'include "/path/to/file.php"; ClassName::MethodName();'
I have a Cron class and would like to test in command line to display E.G: 'Hello World!?