Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't understand the "module called cron" part of your question. I believe you are confused, <code>cron</code> is a service on Linux and other Unix systems configured thru <code>crontab</code>.</p> <p>A <a href="http://linux.die.net/man/5/crontab" rel="nofollow">crontab(5)</a> entry is defined by a time and date and a command to run.</p> <p>On Linux and Posix systems, you cannot execute or run an URL. Running something involves the <a href="http://linux.die.net/man/2/execve" rel="nofollow">execve(2)</a> system call, which requires an executable file path (and arguments).</p> <p>Perhaps you want to retrieve some URL using the <a href="http://en.wikipedia.org/wiki/Http" rel="nofollow">HTTP</a> protocol. You might use a command-line HTTP client, like <code>wget</code> or <code>curl</code>.</p> <p>So perhaps the command you want to run in your crontab might be</p> <pre><code> wget http://www.xyz.com/controllera/functiona </code></pre> <p>but you could use <a href="http://curl.haxx.se/" rel="nofollow">curl</a></p> <p><sup>My guess is that you are confused, and don't understand well enough your question. Consider reading some material.</sup></p> <p>For example, to retrieve that URL once a day at 3 pm, you would have the following crontab entry:</p> <pre><code> # run everyday at 3 pm a GET HTTP request 0 15 * * * /usr/bin/wget http://www.xyz.com/controllera/functiona </code></pre> <p>Use the <a href="http://linux.die.net/man/1/crontab" rel="nofollow">crontab(1)</a> command to configure your crontab (which may contain several entries, and several variable definitions, so you may have to edit it).</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.
 

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