Quantcast
Channel: Displaying items by tag: email
Viewing all articles
Browse latest Browse all 2

Cron Jobs

$
0
0

What is a Cron Job?

Cron jobs are scheduled tasks that take place at predefined times or intervals on the server. Often, a cron job is a series of simple tasks executed from a script file. cPanel offers this screen as a tool for setting up cron jobs.


Adding a cron job

To set up a cron job:

  1. Configure the interval at which you wish to run the cron job.
    • Common Settings — This menu allows you to select a commonly used interval without having to specify settings for the minute, hour, day, month, and so on.
    • Minute — Use this drop-down menu to select the number of minutes between running the cron job, or the minute each hour on which you wish to run the cron job.
    • Hour — Use this drop-down menu to select the number of hours between running the cron job, or the hour each day on which you wish to run the cron job.
    • Day — Use this drop-down menu to select the number of days between running the cron job, or the day of the month on which you wish to run the cron job.
    • Month — Use this drop-down menu to select the number of months between running the cron job, or the month of the year in which you wish to run the cron job.
    • Weekday — Use this drop-down menu to select the day(s) of the week on which you wish to run the cron job.
  2. In the Command field, type the command you wish the system to run.
  3. Click Add New Cron Job.

What command do I run?

The command you will want to run is "/usr/bin/curl http://yourhosthere.domain/index.php?option=com_crmery&controller=mail&task=brewCoffee&format=raw"

Note:If cURL is located in a directory other than /usr/bin, you will need to contact your hosting company to find the correct path and replace /usr/bin/curl with the path to cURL on your server.

I'm not getting any emails

An easy way to test your CRMery installation is by manually visiting the url "http://yourhosthere.domain/index.php?option=com_crmery&controller=mail&task=brewCoffee&format=raw"

If you receive an email after manually visiting the above URL in your browser then you have misconfigured your cron job. If you do not receive an email after manually visiting the above URL you need to ensure that your Joomla! mailer has been configured correctly


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images