[prev in list] [next in list] [prev in thread] [next in thread] 

List:       voyage-linux
Subject:    Fwd: Re: [Voyage-linux] How to add scheduled task to cron?
From:       Punky Tse <punkytse () punknix ! com>
Date:       2010-11-27 17:19:40
Message-ID: 4CF13DAC.5070005 () punknix ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-------- Original Message --------
Subject: 	Re: [Voyage-linux] How to add scheduled task to cron?
Date: 	Sat, 27 Nov 2010 23:55:01 +0800
From: 	Punky Tse <punkytse@punknix.com>
To: 	info@voiptele.net



On 27/11/2010 23:04, maciek wrote:
>  /etc/init.d/cron reload
Perhaps you should try "/etc/init.d/cron restart" instead.  BTW, your
crontab line is not successful.  You should remove /bin/bash.

*/5 0-23 * * * root    echo "test1">   /tmp/test1

- Punky


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-2">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th nowrap="nowrap" align="RIGHT" valign="BASELINE">Subject: </th>
          <td>Re: [Voyage-linux] How to add scheduled task to cron?</td>
        </tr>
        <tr>
          <th nowrap="nowrap" align="RIGHT" valign="BASELINE">Date: </th>
          <td>Sat, 27 Nov 2010 23:55:01 +0800</td>
        </tr>
        <tr>
          <th nowrap="nowrap" align="RIGHT" valign="BASELINE">From: </th>
          <td>Punky Tse <a class="moz-txt-link-rfc2396E" \
href="mailto:punkytse@punknix.com">&lt;punkytse@punknix.com&gt;</a></td>  </tr>
        <tr>
          <th nowrap="nowrap" align="RIGHT" valign="BASELINE">To: </th>
          <td><a class="moz-txt-link-abbreviated" \
href="mailto:info@voiptele.net">info@voiptele.net</a></td>  </tr>
      </tbody>
    </table>
    <br>
    <br>
    <pre>On 27/11/2010 23:04, maciek wrote:
&gt; /etc/init.d/cron reload
Perhaps you should try "/etc/init.d/cron restart" instead.  BTW, your 
crontab line is not successful.  You should remove /bin/bash.

*/5 0-23 * * * root    echo "test1"&gt;  /tmp/test1

- Punky
</pre>
  </body>
</html>



_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic