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