Skip to content

Instantly share code, notes, and snippets.

@devendrabhandari
Last active June 28, 2018 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devendrabhandari/4154937d0bc5070c3b6b5cfc0e23a89e to your computer and use it in GitHub Desktop.
Save devendrabhandari/4154937d0bc5070c3b6b5cfc0e23a89e to your computer and use it in GitHub Desktop.
GoDaddy - Create Cron Job
#Set cron job from cPanel. Two commands are avaliable to set the cron job:
1. /usr/local/bin/php -q /home/USERNAME/public_html/cron.php >/dev/null 2>&1
2. wget http://example.com/cron.php >/dev/null 2>&1
Also, you can generate the command from this website https://crontab-generator.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment