Jump to content
  • 0

Setting Cron > Plesk


Joseph H

Question

4 answers to this question

Recommended Posts

  • 0

crontab -e -u <username>

I have tried this over SSH ... keeps saying user unknown

 

Try:

env php -q /var/www/vhosts/yatosha.com/httpdocs/billing/index.php cron

or:

extension_dir /var/www/vhosts/yatosha.com/httpdocs/billing/index.php cron

Get extension_dir from a phpinfo page.

 

I have tried both but still did not work.

 

The funny thing is I tried executing "/usr/bin/php -q /var/www/vhosts/yatosha.com/httpdocs/billing/index.php cron" from command and It worked fine. 

 

Plesk 12, Centos 6.5

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...