Cron Job Setup

  • Shawngela Pierce
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #26289 by Shawngela Pierce
Cron Job Setup was created by Shawngela Pierce
I am setting up a cron job using control panel on a linux server. I need to know what is the actual command line. Your tutorial only shows basic information about the time.

I have used this as the command line and need to know if this is correct?

/usr/bin/lynx -source mysite.com/components/com_osservicesbooking/cron.php

Thanks for your help!

"Seek Within You to find the power to heal yourself emotionally & physically"
www.seekwithinyou.com
Meditation for Health - alternative healing

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #26304 by Mr. Dam
Replied by Mr. Dam on topic Re: Cron Job Setup
Hi Shawngela,
Depend each hosting, it will have differents ways to setup cron job. In normal, you can put this command

Command to run a PHP cron job:
php /home/user_name123/public_html/cron.php

Optional flag sometimes required for a PHP cron job:
php -q /home/user_name123/public_html/cron.php

You can read more about cron task in other hosting panel
my.bluehost.com/cgi/help/cron - Bluehost
www.siteground.com/tutorials/cpanel/cron_jobs.htm - Siteground
support.godaddy.com/help/article/3548/working-with-cron-jobs - Godaddy
www.hosting.com/support/plesk/crontab - Plesk
Good luck
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam