<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: schedule Script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662617#M102576</link>
    <description>hi karthick,&lt;BR /&gt;did you look into measureware and the extract utility?&lt;BR /&gt;&lt;BR /&gt;i regularly generate a report with the following format:&lt;BR /&gt;    |        |     |      |Memory|      |Cache | Peak | Pk FS  |Pg Out | Swap  |Memory|&lt;BR /&gt;Year|  Date  |Time |CPU % |  %   |Swap %|Hit % |Disk %|  Sp %  | Rate  |Out Rt |Queue |&lt;BR /&gt;2005|11/01/05|00:00| 46.43| 60.30| 33.00| 66.36| 93.69|   93.63|    0.0|    0.0|  0.00|&lt;BR /&gt;2005|11/01/05|00:05| 41.50| 60.55| 33.00| 57.87| 94.81|   93.63|    0.0|    0.0|  0.00|&lt;BR /&gt;2005|11/01/05|00:10| 38.87| 59.77| 33.00| 54.34| 92.88|   93.64|    0.0|    0.0|  0.00|&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;of course, you can customize this...&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
    <pubDate>Wed, 02 Nov 2005 07:47:44 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2005-11-02T07:47:44Z</dc:date>
    <item>
      <title>schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662605#M102564</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Is there any possible without using Cronjob there is any other shell script to run some commands every 1 min form 9am to 9pm</description>
      <pubDate>Wed, 02 Nov 2005 03:58:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662605#M102564</guid>
      <dc:creator>Karthick K S</dc:creator>
      <dc:date>2005-11-02T03:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662606#M102565</link>
      <description>at command&lt;BR /&gt;man at&lt;BR /&gt;man batch</description>
      <pubDate>Wed, 02 Nov 2005 04:02:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662606#M102565</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-11-02T04:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662607#M102566</link>
      <description>without using at command is there any script</description>
      <pubDate>Wed, 02 Nov 2005 04:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662607#M102566</guid>
      <dc:creator>Karthick K S</dc:creator>
      <dc:date>2005-11-02T04:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662608#M102567</link>
      <description>Sure you can always use job-scheduling software like Control-M if you don't want to use the Unix tools like at or cron.&lt;BR /&gt;&lt;BR /&gt;:)</description>
      <pubDate>Wed, 02 Nov 2005 04:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662608#M102567</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-11-02T04:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662609#M102568</link>
      <description>Use sleep and put it in a loop. It will work &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 02 Nov 2005 04:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662609#M102568</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-11-02T04:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662610#M102569</link>
      <description>OK Thanks Arun i did same like but its working but is there any possible to automatically to go exit after 6PM&lt;BR /&gt;&lt;BR /&gt;i am using output to some file using print command but that output not in good format for eg:&lt;BR /&gt;&lt;BR /&gt;i need like this&lt;BR /&gt;&lt;BR /&gt;ID    Name    Time&lt;BR /&gt;&lt;BR /&gt;xx     yyy     yyy</description>
      <pubDate>Wed, 02 Nov 2005 04:29:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662610#M102569</guid>
      <dc:creator>Karthick K S</dc:creator>
      <dc:date>2005-11-02T04:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662611#M102570</link>
      <description>some scripting can do it. But why not systems commands for it??-at or cron itself??&lt;BR /&gt;&lt;BR /&gt;Script like follows will do it.&lt;BR /&gt;i=0900&lt;BR /&gt;while [$i -le 2100]&lt;BR /&gt;do&lt;BR /&gt;echo $i&lt;BR /&gt;((i+=1))&lt;BR /&gt;done &amp;gt;&amp;gt; /tmp/test.txt&lt;BR /&gt;&lt;BR /&gt;while true &lt;BR /&gt;do&lt;BR /&gt;current_time=$(date "+%H%M")&lt;BR /&gt;file_time=$(grep -iq ${current_time} /tmp/tes.txt 2&amp;gt;/dev/null)&lt;BR /&gt;if [[ ${current_time} -eq ${file_time} ]];then&lt;BR /&gt;your_program to be excuted&lt;BR /&gt;else&lt;BR /&gt;exit 1&lt;BR /&gt;fi&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Nov 2005 04:31:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662611#M102570</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-11-02T04:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662612#M102571</link>
      <description>Some corrections.&lt;BR /&gt;&lt;BR /&gt;Prepare a file with timestamps 1 min apart&lt;BR /&gt;type -i i=0900&lt;BR /&gt;while [ $i -le 2100 ]&lt;BR /&gt;do&lt;BR /&gt;printf "%.4d\n" $i&lt;BR /&gt;((i+=1))&lt;BR /&gt;done &amp;gt; /tmp/some_file&lt;BR /&gt;&lt;BR /&gt;Now start this script.&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;current_time=$(date "+%H%M")&lt;BR /&gt;file_time=$(grep -iq ${current_time} /tmp/some_file 2&amp;gt;/dev/null)&lt;BR /&gt;if [[ ${current_time} -eq ${file_time} ]];then&lt;BR /&gt;"execute_your_program"&lt;BR /&gt;sleep&lt;BR /&gt;fi&lt;BR /&gt;done</description>
      <pubDate>Wed, 02 Nov 2005 04:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662612#M102571</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-11-02T04:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662613#M102572</link>
      <description>Not sure what you mean by???&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; ID Name Time&lt;BR /&gt;&amp;gt;&amp;gt; xx yyy yyy</description>
      <pubDate>Wed, 02 Nov 2005 05:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662613#M102572</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-11-02T05:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662614#M102573</link>
      <description>hi sandman,&lt;BR /&gt;&lt;BR /&gt;i generating some reports to file(report.txt)by using glance&lt;BR /&gt;&lt;BR /&gt;Format should be &lt;BR /&gt;&lt;BR /&gt;CPU   Memory  Disk&lt;BR /&gt;12     78      1&lt;BR /&gt;&lt;BR /&gt;b&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Nov 2005 05:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662614#M102573</guid>
      <dc:creator>Karthick K S</dc:creator>
      <dc:date>2005-11-02T05:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662615#M102574</link>
      <description>Use printf instead of print in order to format it the way you want.&lt;BR /&gt;&lt;BR /&gt;regards!</description>
      <pubDate>Wed, 02 Nov 2005 05:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662615#M102574</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-11-02T05:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662616#M102575</link>
      <description>HI,&lt;BR /&gt;Using printf is not formatting i am attached a file format</description>
      <pubDate>Wed, 02 Nov 2005 05:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662616#M102575</guid>
      <dc:creator>Karthick K S</dc:creator>
      <dc:date>2005-11-02T05:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662617#M102576</link>
      <description>hi karthick,&lt;BR /&gt;did you look into measureware and the extract utility?&lt;BR /&gt;&lt;BR /&gt;i regularly generate a report with the following format:&lt;BR /&gt;    |        |     |      |Memory|      |Cache | Peak | Pk FS  |Pg Out | Swap  |Memory|&lt;BR /&gt;Year|  Date  |Time |CPU % |  %   |Swap %|Hit % |Disk %|  Sp %  | Rate  |Out Rt |Queue |&lt;BR /&gt;2005|11/01/05|00:00| 46.43| 60.30| 33.00| 66.36| 93.69|   93.63|    0.0|    0.0|  0.00|&lt;BR /&gt;2005|11/01/05|00:05| 41.50| 60.55| 33.00| 57.87| 94.81|   93.63|    0.0|    0.0|  0.00|&lt;BR /&gt;2005|11/01/05|00:10| 38.87| 59.77| 33.00| 54.34| 92.88|   93.64|    0.0|    0.0|  0.00|&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;of course, you can customize this...&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 02 Nov 2005 07:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662617#M102576</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-11-02T07:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662618#M102577</link>
      <description>Hi Yogee,&lt;BR /&gt;Thanks for your reply but&lt;BR /&gt;&lt;BR /&gt;ur using glance plus or sar or extract utililty&lt;BR /&gt;&lt;BR /&gt;if ur using extract pls tell how to execute becaue i am new in this utility</description>
      <pubDate>Wed, 02 Nov 2005 07:51:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662618#M102577</guid>
      <dc:creator>Karthick K S</dc:creator>
      <dc:date>2005-11-02T07:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: schedule Script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662619#M102578</link>
      <description>Karthik, Extract utility got very good user guide in-built. Just type &lt;BR /&gt;#extract &lt;BR /&gt;&lt;BR /&gt;OVPA/UX Extract (C.03.86.00)  (c) Copyright 2004 Hewlett-Packard Development Com&lt;BR /&gt;pany, L.P.&lt;BR /&gt;Current date and time:  Wed Nov  2 07:55:26 2005&lt;BR /&gt;For help enter:&lt;BR /&gt;&lt;BR /&gt;MENU or ?     To get a list of available commands&lt;BR /&gt;HELP          To invoke the HELP subsystem for more detailed help&lt;BR /&gt;GUIDE         To select guided command mode for the novice user&lt;BR /&gt;&lt;BR /&gt;extract&amp;gt; Enter Command: GUIDE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;          ************************************************************&lt;BR /&gt;          * Welcome to the Guided Command Interface for the OVPA     *&lt;BR /&gt;          * extract program.                                         *&lt;BR /&gt;          *                                                          *&lt;BR /&gt;          * This interface provides assisted access to a subset of   *&lt;BR /&gt;          * the regular extract commands.                            *&lt;BR /&gt;          *                                                          *&lt;BR /&gt;          * The regular interface commands that are executed for     *&lt;BR /&gt;          * you will be listed following the "extract&amp;gt;" prompt.      *&lt;BR /&gt;          *                                                          *&lt;BR /&gt;          * You can return to the regular interface by typing Q      *&lt;BR /&gt;          * in response to any "extract guide&amp;gt;" prompt.              *&lt;BR /&gt;          ************************************************************&lt;BR /&gt;&lt;BR /&gt;extract guide&amp;gt; Are you ready to continue ?&lt;BR /&gt;&lt;BR /&gt;          ************************************************************&lt;BR /&gt;          * The EXTRACT program performs two basic functions:        *&lt;BR /&gt;          *                                                          *&lt;BR /&gt;          * EXTRACT  - copies data from OVPA log files into a        *&lt;BR /&gt;          *            single archival file (internal OVPA format)   *&lt;BR /&gt;          *                                                          *&lt;BR /&gt;          * EXPORT   - copies data from OVPA log files into a        *&lt;BR /&gt;          *            format that can be used for reports or by     *&lt;BR /&gt;          *            other programs.                               *&lt;BR /&gt;          *                                                          *&lt;BR /&gt;          * (Type Q to quit the guided command facility.)            *&lt;BR /&gt;          ************************************************************&lt;BR /&gt;&lt;BR /&gt;extract guide&amp;gt; Which function do you want ?&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Nov 2005 07:57:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/schedule-script/m-p/3662619#M102578</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-11-02T07:57:13Z</dc:date>
    </item>
  </channel>
</rss>

