how to set cron job on hostgator server?

Create a file : my-script.php write following code in your file : mail(“myemail@myserver.com”, “test email”, “test message”); Now open your server cpanel and find advanced setting : (Cron setting) Now add new cron job and set followingcommand with your script.           php -q absolutePath/my-script.php   Facebook0Google+0TwitterLinkedin

Read More