Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7006757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:31:07+00:00 2026-05-27T21:31:07+00:00

As a customer in Plesk, I am attempting to run: php -q /httpdocs/_external/export/test.php From

  • 0

As a customer in Plesk, I am attempting to run:

php -q /httpdocs/_external/export/test.php

From this tutorial: http://daipratt.co.uk/crontab-plesk-php/

I’m receiving the error

“php: command not found”

Is there something I need to enable from the main user or a different command I would need to use to run the script?

(also tried /bin/php with no luck, there is no php file in that dir)

“which php”
-/usr/bin/php
(when I use this dir I also get “no such file or dir” I guess since when I use / it’s pulling from the customers root not the server root)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:31:07+00:00Added an answer on May 27, 2026 at 9:31 pm

    This answer will help you. My understanding is that Cron runs everything relative to itself, so you should always use absolute paths when running something from Cron.

    Good luck, and happy holidays!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Customer wants to move from SQL server to Sybase database. Don't know if LINQ
For customer service week this year, I have the privileged task of creating a
My customer is replacing MS Office with OpenOffice in some workstations. My program export
My customer requires an uregent answer on whether I can prevent users from changing
a customer has asked us to remove the comments generated by JAX-WS from the
Our customer is complaining that our export file is too long; they would like
A customer has got this error with my software using Python 2.5.5. How can
A customer cannot run our Java program. The shortcut executes a 32-bit copy of
Our customer advertises products but the product's attributes are vastly different from one another.
One customer wants to consume our .NET DLLs from VB6. They are designed to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.