Skip to main content

Documentation

IMPORTANT

This is the outdated SI-documentation which will be adapted soon. A huge part may be obsolete!

Setting Up Cronjobs With Ssh

SSH Cronjobs

Cronjobs is a schedule command/task that is executed on your server to run automatically at a specified time and date. A cronjob is a schedule task itself and it is very useful to automate repetitive tasks. For example, it allows email processing to run independently while not interfering with site operations. It is recommended in Komento to use cronjobs to parse emails as well as sending out notifications.

Configuration

Setting up cronjobs with SSH is very straight forward. All you'll need to do is to login to your server with your username and password and run the following command.

crontab -l

Then, the server will list all cronjobs tasks available on your server. To add a new cronjob task, run the following command.

crontab -e

Your server will load up your favourite editor with the list of cronjobs tasks available on your site. Enter the following command below everything and save.

*/5 * * * * /bin/wget -O /dev/null "http://yoursite.com/index.php?option=com_komento&task=cron"

You'll need to get the correct wget path and replace the domain name above with your site's domain. Every webhosting might have a different /bin/wget. Please consult with your webhosting for further explanation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience. You can decide whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.