Command lines. Examples only! Bold sections must be changed.
ChilliWeb servers run PHP 5, but it also runs compatible PHP4 scrips.
PHP
>>Command to run a PHP5 cron job:
php /home/user_name/cron_file_directory/cron.php
>>Optional flag sometimes required for a PHP cron job:
php -q /home/user_name/cron_file_directory/cron.php
>>Command to run a PHP4 cron job:
/usr/local/php4/bin/php /home/user_name/cron_file_directory/cron.php
More
>>Command to GET a remote file:
/usr/bin/GET http://www.some-domain.com/file.php
>>Command to run a CGI cron job:
perl /home/user_name123/public_html/cgi-bin/file.pl
SSH Extras
>>Command to run a shell script cron job:
/bin/sh /home/user_name123/public_html/file.sh
>>Command to import a database:
mysql -u mysql_user -ppassword database_name < backup.sql
>>Command to export a database:
mysqldump -u mysql_user -ppassword database_name > backup.sql