Cron Jobs
Hey guys, I'm still having problems with my cron jobs. These are my current settings. I assume they are not working because I still cannot update either site to 10.0 Thanks in advance for pointing out my error(s).
-
-
·
LeonidS
- ·
Hello AdjustersClub !
As we found with your hosting support you have a conflict of the core and modules files. So if you have possibility it would be better to make the fresh install.
-
·
LeonidS
-
- · Jeremy
- ·
Are you using php 5.6? If so try this and remove the other UNA cron jobs. If running a different php version then replace php56 with php72 or whatever version you're using
/opt/alt/php56/usr/bin/php -q /home/adjuster/public_html/adjustersclub.com/periodic/cron.php
-
- · AdjustersClub
- ·
Thanks guys. Will try again with a clean install and try to upgrade php version as well.
-
- · Jeff Elder
- ·
Is there a way to find whatever the original cron job text was when the software was installed? I accidentally deleted my cron job and am not sure how to re-create it aside from re-installing (which I don't want to do). Any suggestions?
-
Hello Jeff Elder !
You should run this command
cd /home/user/public_html/una/periodic; /usr/local/bin/php -q cron.php
every minute * * * * *
-
-
-
·
LeonidS
-
·
In reply to Mayki
- ·
Yes, it provides the more actual processing of the uploaded files, sending notifications and mass mailing.
-
·
LeonidS
-
- · rafalch
- ·
I am using the Plesk system. I have a startup error
"/opt/psa/admin/bin/php -q '/var/www/vhosts/web/httpdocs/forum/periodic/cron.php'" zakończone z błędem w 0 sekund(y), dane wyjściowe:
PHP Warning: require_once(/var/www/vhosts/web/httpdocs/inc/classes/BxDol.php): failed to open stream: No such file or directory in /var/www/vhosts/web/httpdocs/forum/inc/params.inc.php on line 105
PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/web/httpdocs/inc/classes/BxDol.php' (include_path='/opt/psa/admin/plib') in /var/www/vhosts/web/httpdocs/forum/inc/params.inc.php on line 105
-
-
·
LeonidS
-
·
In reply to rafalch
R
- ·
Hello @rafalch !
You need to set the value of include_path='/opt/psa/admin/plib' variable as empty in your server's settings.
-
·
LeonidS
-
- · rafalch
-
·
In reply to LeonidS
- ·
Thank you for your answer. Is this record supposed to look like this?
include_path='/opt/psa/admin/plib' /var/www/vhosts/web/httpdocs/forum/periodic/cron.php
-
-
·
LeonidS
-
·
In reply to rafalch
R
- ·
Yes, it is. Just make it like include_path=''
-
·
LeonidS
-
- · rafalch
-
·
In reply to LeonidS
- ·
Error: include_path = '/ opt / dog / admin / plib' /var/www/vhosts/web/httpdocs/forum/periodic/cron.php" completed with error in 0 seconds, output: / bin / sh: 1: /var/www/vhosts/web/httpdocs/forum/periodic/cron.php: Permission denied
-
- · Ariful Islam
- ·
@LeonidS is there any way to get the cronjob command if someone didn't forget to copy during installation?
-
Hello @Ariful Islam !
Sure, it was described here https://una.io/wiki/FAQ#what-should-an-una-cronjob-look-like