Home > know-how > BeezDesk CRM > Troubleshooting > non standard cronjob setup

non standard cronjob setup

on some server (e.g. virtual server at host europe) the cronjob feature does not allow to set a command, but a path to a file to execute.

following two workaround


1. shell script

create a file

cron-lynx.sh


with following content

#!/bin/sh
lynx -dump http://[your-website-cron-url] > /dev/null


and replace [your-website-cron-url] with the URL to the cron script to execute.

in your server admin panel set up the cronjob to call this new file:

<root-path>/cron-lynx.sh


2. php wrapper

create a file

helpdesk/scripts/cronjobwrapper.php

with following content

#!/usr/local/bin/php
<?php
include('jobs.php');
?>

in your server admin panel set up the cronjob to call this new file:

<root-path>/cronjobwrapper.php
Impressum / Imprint | Datenschutz / Privacy Policy | AGBs / ToC