-1
votes
1answer
340 views

Scheduled Task issue - /usr/bin/php/: No such file or directory

Can't get it working, I want to set up a cron job for a domain user in plesk 11.5, but seems that there's a problem to find the php executable. The command is: /usr/bin/php/ -f ...
-1
votes
2answers
379 views

Cron permissions (root, usergroup) - could not open input file [closed]

I have a server for which I have created a cron job "sendalerts" to users. Mind you this "sendalerts.php" should be runnable from two methods (via browser and also via a cron job) So cron's job is to ...
-1
votes
1answer
287 views

Plesk cron iOS notifications randomly stopped working [closed]

Recently, I started getting these cron error from Plesk. This cron controls push notifications to Plesk Manager on my iPhone/iPad. Obviously, turning off the cron stops the error but I want the cron ...
2
votes
2answers
211 views

Why doesn't this command work as a cronjob, while it works perfectly when typed in a shell?

If I run this command from the shell, it works as expected: cd ~ && mysqldump --databases --skip-dump-date --host=localhost --user=admin --password=xxxxx --lock-all-tables ...
0
votes
1answer
2k views

Cron for a user not working in Plesk 10/11

I'm having a strange problem with plesk and I can't seem to find an answer anywhere on the official support, so I hope somebody here can shed some light. I'm simply trying to run a script via cron ...
1
vote
1answer
1k views

syntax error near unexpected token `<'

I have set the php file in cron job on the parallel plesk 10.4.4 server.In notification email it is showing the errors. syntax error near unexpected token `<' syntax error near ...
1
vote
1answer
613 views

Set php environment variable for cron via Plesk admin interface

Within our application we make use of a environment variable named SERVER_ENV that is used to set whether we are in a production or development environment. This is set through the httpd.conf file ...
0
votes
1answer
263 views

Setting Up Plesk Cron Job — Not Sure How To Call File

I have a Plesk-managed web server that I host my website on, and I have set up a cron job to run every night, but it's not working due to a problem with the path. I am using CodeIgniter and ...
1
vote
3answers
239 views

Make php file accessible only from scheduled tasks

I have several php files that are aimed to run only from scheduled task. I don't want anyone to have access on these files by typing the url into browser or some other way... Is there a way to make ...
0
votes
1answer
590 views

Plesk command working in manual script, not in cronjob

In order to install a hosting plan, I use Plesk's commands in SSH as specified in their official guide. When typed directly in SSH (Putty), it works perfectly. The line is as follows with obviously ...