Support Forums


If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PRIORITY SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 Antonimo 05-01-2018 17:12:50

Hi,

I have the following CRON set up:

*     *     *     *     *     /home/helpdpoc/public_html/index.php?pipe=1

I am receiving the following error message from CRON:

Could not open input file: /home/helpdpoc/public_html/index.php?pipe=1

The page at https://mysite.com/index.php?pipe=1 works fine:

Mailbox Read @ Fri 05 Jan 2018 @ 17:11PM. 0 Messages Found.

0 Tickets Awaiting Assignment.
0 Tickets Accepted and Flagged as Spam.
0 Tickets Flagged as Spam and Auto Purged.
0 New Tickets Opened.
0 Replies Added.
0 Attachment(s) Saved.

- - - - -

Memory Used: 2.4MB
Peak Memory Used: 2.46MB
Duration: 0.28 seconds





Any ideas as to what might be wrong?

Regards,

#2 msworld 06-01-2018 04:56:08

It might be worth looking at the cron information in the documentation. smile

"/home/helpdpoc/public_html/index.php?pipe=1" is not a valid cron command.

If you aren`t sure contact your host, they should be able to help. Cron commands vary from server to server.

#3 Antonimo 08-01-2018 17:55:18

Hello,

The cron line is actually
*     *     *     *     *     /usr/local/bin/php /home/helpdpoc/public_html/index.php?pipe=1

However, the error is the same:
Could not open input file: /home/helpdpoc/public_html/index.php?pipe=1

The page at The page at https://mysite.com/index.php?pipe=1 works fine: works fine.

I also have a cron for backup which is working correctly:
0     *     *     *     *     /usr/local/bin/php /home/helpdpoc/public_html/db-backup.php

Regards,

#4 Antonimo 08-01-2018 18:11:00

Additional

It still does not work if I change the cron to
*     *     *     *     *     php -q /home/helpdpoc/public_html/index.php?pipe=01

The error is "No input file specified."

#5 msworld 09-01-2018 02:08:58

Did you see the notes on crons in the docs and the "Cron trigger Override via Curl" option? You can try that.

Or change your cron command to use curl natively at the server level. See the curl examples.

Linux servers (some at least), don`t like the query string parameter. So, you can also try using a space.

/usr/local/bin/php /home/helpdpoc/public_html/index.php pipe=1

The curl option should be fine as that works with query strings.

#6 Antonimo 09-01-2018 08:29:15

Thank you for your support.

I have chosen to use the CURL option which is working.

#7 msworld 09-01-2018 14:09:41

Great, glad you got it sorted out. smile

Board footer