I am on shared linux hosting and using the CPanel cron job setup page. Set to run every 1/2 hour. I just need the command line, and I consulted the books for more info. The command line I came up with is:
/usr/bin/php -q /home/acct123/public_html/wp-content/plugins/civicrm/civicrm/bin/cli.php -j -s mydomain.org -u Paul -p password -e Job -a process_mailing
This doesn't work. Cron returns (via email):
PHP Fatal error: cli.php can only be run from command line. in /home/acct123/public_html/wp-content/plugins/civicrm/civicrm/bin/cli.class.php on line 86