Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The text you get back is the usage message of piconv. This has absolutely nothing to do with PHP, the scripting language. What you probably want to do is one of the following: </p> <h1>Alternative 1: Using the PHP command line interpreter</h1> <p>You need to call the actual php interpreter on your system. This might be <code>/usr/bin/php5</code>, so your crontab line would look like</p> <pre><code>*/5 * * * * /usr/bin/php5 /var/www/vhosts/eblogs.co.uk/httpdocs/frostbox/cron/crone_test.php </code></pre> <p>However not every setup has this command line interpreter installed. It might happen that only the apache module is installed.</p> <h1>Alternative 2: Using an HTTP(S) request</h1> <p>If you don't have the right to install the command line tool, have a look if wget or curl is installed. If so, you can use them to invoke the script by sending a request to the web server.</p> <h2>Using wget:</h2> <pre><code>/usr/bin/wget -O /dev/null 'http://eblogs.co.uk/crone_test.php' </code></pre> <p><code>-O /dev/null</code> tells it to save the web page generated by your script in <code>/dev/null</code>. It is a special file that basically immediately forgets all data written to it. So this parameter avoids that any new file with the web page contents is created and lies around in your server's file system.</p> <h2>Using curl:</h2> <pre><code>/usr/bin/curl -o /dev/null 'http://eblogs.co.uk/crone_test.php' </code></pre> <p><code>-o /dev/null</code> has the same function here as the version with the capital O above for wget.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload