cron problems

The multi-php versions for crons were bought up by myself ages ago, but I don't think anyone gives a hoot despite being somewhat important.
 
This example dont work with multi DA installation.
Suggestions for typo's and other incorrect things should be made seperately on the forums too. And then maybe refer to this thread.

Also "http" should be change to "https" protocol.
Not unless really everything and everybody works with https which is not always the case. In other cases there will be an automatic redirect in place so the http should be fine for now.
 
So it will be nice to change it from (or just add another line):

Thank you for the suggestions. You might contact directadmin developers directly. I'm not too sure, they read every single thread on these forums.

As of crontasks, it depends on software developers. If a PHP script for crontask was initially developed for running in CLI, then it's OK to run without cd to its location, for example WHMCS:

Code:
php -q /home/username/crons/cron.php

If a PHP script added into cron was initially developed to run under a WEB environment it might require a directory change when used in CLI.
 
Back
Top