Plesk 12.x / Linux :: Cron Not Running

Dec 30, 2014

I have just recently moved to Plesk web admin from cpanel. I have been trying to get the cron to run for the past 48 hours but no luck. Bellow is the code i have been trying to execute via cron but It does not run.

"/usr/bin/php /var/www/ vhosts/mydomain. com /httpdocs/billing/index.php cron"

View 8 Replies


Plesk 12.x / Linux :: How To Add Cron

Apr 9, 2015

How to add Cron?

View 14 Replies View Related

Cron Jobs Not Running

Jan 5, 2008

I have a machine, that for some reason stopped running it's cron jobs for some reason, and I can figure out how to get them working again.

My /etc/crontab file is as follows.


# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
Here are the contents of a sample user cron file.

10 4 * * * php -q -f /home/USER/public_html/tools/updtransfers.php /home/USER/public_html >/dev/null 2>&1
10 5 * * * php -q -f /home/USER/public_html/tools/updateexp.php /home/USER/public_html >/dev/null 2>&1
10 5 * * * php -q -f /home/USER/public_html/tools/invoice_cron.php /home/USER/public_html >/dev/null 2>&1
and another

*/5 * * * * /usr/local/bin/php -c /home/USER/php.ini /home/USER/public_html/poller.php > /dev/null 2>&1
I've checked my logs, and I can find no errors anywhere. When I run the commands manually via SSH, they work perfectly, they simply are not being run automatically the way they are supposed to be.

I have checked, and the crond service is running. I have tried restarting it, but it seams to have no affect. I really have no idea what the issue is. The only thing I seam to have found at one point, was the possibility that the files within the /etc/cron.d directory might be CHMOD'ed wrong, but I haven't found anything to confirm this either way.

[root@server cron.d]# ls -all
total 60
drwxr-xr-x 2 root root 4096 Dec 17 03:07 .
drwx--x--x 94 root root 12288 Jan 3 09:28 ..
-rw-r--r-- 1 root root 61 Jun 22 2007 csf_update
-rw-r--r-- 1 root root 81 Apr 11 2007 lsm
-rw-r--r-- 1 root root 79 Jun 22 2007 prm
-rw------- 1 root root 366 Feb 23 2007 sa-update
-rw-r--r-- 1 root root 82 Jun 22 2007 spri
-rw-r--r-- 1 root root 188 Nov 16 23:14 sysstat
[root@server cron.d]#

View 3 Replies View Related

Plesk 11.x / Linux :: How To Set Cron Jobs

Dec 24, 2014

How I can set CronJobs? Have never to it before.

Here is what i have from developer:

Final Step: Setup Cron Tasks.

Number of cron (background) tasks to ensure redundant files are deleted, accounts are auto downgraded etc. Details of these are below.

0 0 * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/auto_prune.cron.php >> /dev/null 2>&1
0 0 * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/create_internal_notifications.cron.php >> /dev/null 2>&1
0 * * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/delete_redundant_files.cron.php >> /dev/null 2>&1
0 0 * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/downgrade_accounts.cron.php >> /dev/null 2>&1
*/5 * * * * php /var/www/vhosts/MYDOMAIN/httpdocs/admin/tasks/process_file_queue.cron.php >> /dev/null 2>&1

View 19 Replies View Related

Running Perl Script On Cron

Jan 25, 2007

I tried using this perl script which supposedly restarts apache when server load reaches 5 and above

#!/usr/bin/perl -w
#use strict;
open(LOAD,"/proc/loadavg") || die "couldn't open /proc/loadavg: $!
my @load=split(/ /,<LOAD>);
if ($load[0] > 5) {
`/sbin/service httpd restart`;
and placed it in /usr/local/script/ and chmod to 755

and added this to my crontab

*/1 * * * * root /usr/local/script/

my server load went up to 20 and waited if it will automatically go down via the script but it seems it's not working. I had to restart apache manually.

View 4 Replies View Related

Plesk 11.x / Linux :: CRON Is Not Executed (scheduled Tasks)

Oct 23, 2014

plesk 11.5
centos 6

We set a couple of task with domain user but the cron is not executed.

We tried 2 kind of task to run every minute

/usr/bin/php /var/www/vhosts/
mail -s "Hello"

1) Why scheduled task are not executed?
2) Where the tasks are written in filesystem from plesk ? /etc/....?

View 3 Replies View Related

Plesk 12.x / Linux :: Missing Cron Files After Reinstall?

Sep 24, 2014

I'm missing files that the existing crontab requires. There are results on Google for it, but since the parallels' forum upgrade, all the Google links are dead...

The missing crons in question are:

/bin/sh: /usr/local/psa/libexec/modules/watchdog/cp/clean-events: No such file or directory
/bin/sh: /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats: No such file or directory
/bin/sh: /usr/local/psa/libexec/modules/watchdog/cp/clean-sysstats: No such file or directoryClick to expand...

View 2 Replies View Related

Plesk 12.x / Linux :: Drweb Log Error Each Day In Cron Mail

Oct 16, 2014

Im getting every day the Update E-Mail von my Pleask System all was find but since ~10 Day i get this Error in the End of the Mail:

Dr.Web update details:
Update server:
Update has begun at Wed Oct 15 03:10:44 2014
Update has finished at Wed Oct 15 03:10:45 2014


View 13 Replies View Related

Plesk 12.x / Linux :: Scheduled Backup Don't Load (cron Job)

Jul 14, 2015

Plesk Backup work when we make instant backup but not with scheduled backup.

There is nothing in the log files (pmmcli.log & migration.log).

How can we correct?

Plesk 12 / Centos

View 1 Replies View Related

Plesk 11.x / Linux :: Edit Root Cron Using Parallel Extension?

May 29, 2014

I was creating an Plesk extension and I need to edit root's crontab for the extension to work properly. While doing some experiment I understand that the Plesk extension works with the permission of psaadm . So I cannot use shell_exec to do this. Is there any api or cli interface where I will be able to do this. Is there any possibility to override the restriction of psaadm user through extension.

View 4 Replies View Related

Plesk 12.x / Linux :: Servershield Errors And Warnings In Daily Cron

Nov 19, 2014

I get these emails every day, sometimes less warnings, but today there are plenty again:

Subject: Cron <root@plesk01> /opt/psa/admin/bin/php -c '/opt/psa/admin/conf/php.ini' -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/servershield/scripts/aggregate-stats.php'


PHP Notice: Undefined property: stdClass::$response; File: /opt/psa/admin/plib/modules/servershield/scripts/aggregate-stats.php, Line: 21

PHP Notice: Trying to get property of non-object; File: /opt/psa/admin/plib/modules/servershield/scripts/aggregate-stats.php, Line: 21

[Code] .....

They started showing up when I upgraded to Plesk 12 and activated the server shield extension. The server is an Ubuntu 12.04 LTS.

View 5 Replies View Related

Howto: Automatically Verify Cron / Crond Is Running And Restart If Not

May 30, 2005

This one's pretty simple really, but given the fact that I'm constantly running into crond stops with CPanel servers (no clue why, or where, but it's happening), I'll post this here. If it helps someone, then great, if not, hey, no worries.

Firstly, login as root to your server through ssh, however you usually do .

Next, the script (we'll call it /bin/ Use whatever editor you choose to create the file.

#!/bin/bash .......

View 14 Replies View Related

Plesk 12.x / Linux :: Not Running On CLoudlinux?

Dec 12, 2014

I have installed plesk on cloudlinux

But I can not see an login prompt when i try to connect with https://myserverip:8443

netstat -tulpen gives me the Output

EN 0 183156 69422/httpd
tcp 0 0 :::8443 :::* LIST

View 1 Replies View Related

Plesk 11.x / Linux :: Setting Up Cron Job For Domain User - No Such File Or Directory

Apr 20, 2014

Can't get it working, I want to set up a cron job for a domain user, but seems that there's a problem to find the php executable. The command is:

/usr/bin/php/ -f /var/www/vhosts/

But the report says

-: /usr/bin/php/: No such file or directoryClick to expand...

View 3 Replies View Related

Plesk 12.x / Linux :: Cron Job Working On Console But Not Automatic In Task Manager

Aug 19, 2014

i have setup fresh Centos 6.5 with Plesk Pannel 12.0.18. When i execute the attached command from the console, i get it work, some posts are auto created within wordpress. When i enter the attached command within Plesk (Tools / Settings - Taskmanager - root New Task, the command is not executed...

/usr/bin/wget --post-data='id=4&minposts=1&maxposts=3' -O /dev/null

I tried also without /usr/bin at the beginning, but its not working with cron automatic

View 3 Replies View Related

Plesk 12.x / Linux :: Can Have WAF ModSecurity And Firewall Running Together

May 26, 2015

I currently have the Web Application Firewall (ModSecurity) installed but would like a visual interface to block IP's, subnets etc.. Can I install the Plesk firewall as well without any conflict with the Web Application Firewall?

View 3 Replies View Related

Plesk 12.x / Linux :: PHP Scripts Not Running Even As Root

May 14, 2015

I tried to setup a cronjob to run a php script. Something simple like this:

php /var/www/vhosts/

didn't worked. So I used the terminal as root and I noticed that php is not running script not even as root.

not even commands like php -v works. I don't get any error back.

Plesk version 12.0

View 5 Replies View Related

Plesk 12.x / Linux :: Can't Turn Off Running Task

Jun 19, 2015

an email notification for this is coming through every day. It says ended successfully so no errors...

Running task: C:Pleskadmininweb_statistics_executor.exe
Started: Fri Jun 19 01:49:01 2015
Ended successfully: Fri Jun 19 01:49:09 2015

If i go to Server -> Scheduled Tasks and look for it, it cannot be found anywhere. Also scheduled tasks only shows system users, not 'Plesk Administrator' as the kb articles refer to.

View 2 Replies View Related

Plesk 12.x / Linux :: PhpMyAdmin Running On Nginx But It Is Not Installed

Jan 3, 2015

i've uninstalled nginx and php-fm from plesk panel.but phpmyadmin info still showing it is running on nginx 1.6 and while uploading sql file i'm getting 503 gateway error.

View 3 Replies View Related

Plesk 12.x / Linux :: After Update To 12.0.18 Scheduled Task Not Running?

Sep 21, 2014

I recently updated from 11.5 to 12. After the update, my simple "Websites & Domains->Scheduled Tasks" is no longer executing.

I verified that the task is still present in Plesk and enabled.

The simple task launches one of my PHP web pages to perform an action:

(set to once a day: Min=30, H=7, DM=*, M=*, DW=*)
wget --quiet --delete-after ""

This cron job had been working fine for more than a year but stopped working after the update.

View 8 Replies View Related

Plesk 12.x / Linux :: Running On CentOS 7 Azure Cloud

Jan 19, 2015

I would like to ask if its possible ( supported ) to run Parallers Plesk 12 Panel on centos 7 ( openlogic) in Microsoft Azure infrastructure.

View 3 Replies View Related

Plesk 11.x / Linux :: Change Default Settings For Running PHP

Nov 10, 2014

Is there a way to set the php-handle for all domais as "fastcgi".

At the moment when i create a domain, it will be run as "apache".

I like to change it to "fastcgi". I know there is way, to change it in the databases, but i forget where was it...

View 3 Replies View Related

Plesk 11.x / Linux :: Running Auto Update Of Panel

Jun 7, 2014

my plesk control panel 11.5.30 has problems running the auto update of the panel. During the upgrade, the server reboots even after an error message appears that shows the following message: Can't parse /root/parallels/products.inf3: Error reading end tag.

View 4 Replies View Related

Plesk 12.x / Linux :: Autoinstaller Finished And Xinetd Is Not Running

Nov 20, 2014

This happens in around 30% of the cases when I run CLI autoinstaller to update/install/remove packages.


Patches were installed successfully.
The changes were applied successfully.
Synchronizing the Debian APT package index files...

# pgrep -lf xinetd || service xinetd start
Starting internet superserver: xinetd.

# pgrep -lf xinetd || service xinetd start
849 /usr/sbin/xinetd -pidfile /var/run/ -stayalive

As you can see, after the autoinstaller finishes, xinetd is not running and has to be started again.

View 2 Replies View Related

Plesk 11.x / Linux :: Pmmcli-daemon Running Constantly?

May 23, 2014

For some reason pmmcli-daemon has started to run constantly at 90-100% CPU even when it's not backing up.

No error message emails are generated.

I can stop it, but then I find it running after it has completed the domain backups.

View 13 Replies View Related

Plesk 12.x / Linux :: MySQL Process Running Unlimited With High CPU?

Mar 23, 2015

I have a single mysql process that never stops and running with 10-200% CPU load: URL....

I restart mysql => process coming back
I restart server => process coming back
I kill process => process coming back

I have run:
# mysqladmin -uadmin -p`cat /etc/psa/.psa.shadow` -i 1 processlist
but there was noting that runs >10min.

| Id | User | Host | db | Command | Time | State | Info |
| 328 | admin | localhost | psa | Sleep | 56 | | NULL |
| 8110 | admin | localhost | NULL | Query | 0 | init | SHOW FULL PROCESSLIST |
2 rows in set (0.00 sec)
I have strace the PID

# timeout 1m strace -f -c -p 5873
Process 5873 attached with 30 threads - interrupt to quit
Process 10499 attached (waiting for parent)
Process 10499 resumed (parent 5873 ready)
Process 10502 attached (waiting for parent)
Process 10502 resumed (parent 5873 ready)
Process 10503 attached (waiting for parent)


I found with google a hint for high cpu URL....I have deinstalled "health monitor" module, but that was not the reason.I use plesk 12.0.18 Update #38 with CentOS 6.6 (Final).

View 2 Replies View Related

Plesk 12.x / Linux :: Server Running Out Of Memory By Sort Command

Mar 26, 2015

Why servers are being run out of memory by the 'sort' command even when the logs are small? Here's what is currently on a site:

-rw-r--r-- 2 root root 22392143 Mar 26 11:40 access_log
-rw-r--r-- 2 root root 68018869 Mar 26 10:50 access_log.processed.1
-rw-r--r-- 3 root root 67671664 Mar 26 09:50 access_log.processed.2
-rw-r--r-- 1 root root 69908 Mar 26 10:50 access_log.stat

[Code] .....

View 1 Replies View Related

Plesk 12.x / Linux :: Php-cgi High Cpu Load Website Running Slow

Dec 10, 2014

Today, without any change on the server side my single running website on my server started running low. After checking the running processes I realised I have these 8 processes running with high cpu load something that didn't had before.

4245 user 20 0 283m 103m 10m R 85.1 0.3 6:44.88 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4243 user 20 0 241m 68m 8736 R 83.8 0.2 6:33.45 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4259 user 20 0 254m 82m 8720 R 83.5 0.3 6:11.00 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4244 user 20 0 282m 103m 10m R 82.1 0.3 6:46.49 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4247 user 20 0 248m 76m 8712 R 78.8 0.2 6:50.31 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4264 user 20 0 258m 85m 8712 R 72.9 0.3 6:49.83 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini

apache error log doesn't show any warnings, errors.

View 4 Replies View Related

Copyrights 2005-15, All rights reserved