Last active
June 28, 2018 16:11
-
-
Save devendrabhandari/4154937d0bc5070c3b6b5cfc0e23a89e to your computer and use it in GitHub Desktop.
GoDaddy - Create Cron Job
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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