home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / cron.z / cron
Encoding:
Text File  |  2001-04-17  |  4.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ccccrrrroooonnnn((((1111MMMM))))                                                              ccccrrrroooonnnn((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cron - clock daemon
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ccccrrrroooonnnn [ ----jjjj _j_o_b_s ] [ nnnnooooffffoooorrrrkkkk ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _c_r_o_n executes commands at specified dates and times.  Regularly scheduled
  16.      commands can be specified according to instructions found in _c_r_o_n_t_a_b
  17.      files in the directory /_v_a_r/_s_p_o_o_l/_c_r_o_n/_c_r_o_n_t_a_b_s.  Users can submit their
  18.      own _c_r_o_n_t_a_b file via the _c_r_o_n_t_a_b(1) command.  Commands that are to be
  19.      executed only once can be submitted using the _a_t(1) command.
  20.  
  21.      The following options are supported:
  22.  
  23.      ----jjjj _j_o_b_s   Specify the maximum number of jobs (MAXRUN) that _c_r_o_n can
  24.                simultaneously run.  The default value is 25.  The maximum
  25.                allowed value is 250.
  26.  
  27.      nnnnooooffffoooorrrrkkkk    If this option is supplied, _c_r_o_n runs in the foreground.
  28.  
  29.      _c_r_o_n examines _c_r_o_n_t_a_b files and _a_t command files only during process
  30.      initialization and when a file changes via _c_r_o_n_t_a_b or _a_t.  This reduces
  31.      the overhead of checking for new or changed files at regularly scheduled
  32.      intervals.
  33.  
  34.      Since _c_r_o_n never exits, it should be executed only once.  This is done
  35.      routinely through /_e_t_c/_r_c_2._d/_S_7_5_c_r_o_n at system boot time.
  36.      /_e_t_c/_c_r_o_n._d/_F_I_F_O is used as a lock file to prevent the execution of more
  37.      than one _c_r_o_n and is also used by the _c_r_o_n_t_a_b command for notification of
  38.      changes to the _c_r_o_n_t_a_b files.
  39.  
  40.      If MAXRUN jobs are running and another is scheduled, _c_r_o_n does not run
  41.      the new job.  A message is logged via _s_y_s_l_o_g(3C).
  42.  
  43.      _c_r_o_n attempts to handle changes to the system date correctly, either
  44.      forward or backward.  There may be some delay for jobs scheduled during
  45.      the interval on large forward-time changes.
  46.  
  47.      For each job launched, cron reads in configuration information from
  48.      /_e_t_c/_d_e_f_a_u_l_t/_c_r_o_n. Currently the only option supported is the
  49.      SVR4_SIGNALS option, which may be set to `YES' or `NO' (it defaults to
  50.      NO).  Setting SVR4_SIGNALS to `YES' will result in processes forked with
  51.      the SIGXFSZ and SIGXCPU signals ignored.  For CPU and filesize resource
  52.      limiting to work correctly, SVR4_SIGNALS should be set to `NO', so that
  53.      these signal retain their default behaviour, which is to terminate the
  54.      process.
  55.  
  56. FFFFIIIILLLLEEEESSSS
  57.      /etc/cron.d                main cron directory
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ccccrrrroooonnnn((((1111MMMM))))                                                              ccccrrrroooonnnn((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      /etc/cron.d/FIFO           used as a lock file against multiple copies
  75.                                 running and also for notification of new or
  76.                                 changed _c_r_o_n_t_a_b files
  77.      /var/cron/log              accounting information
  78.      /var/spool/cron            spool area
  79.      /etc/config/cron.options   site-dependent options /etc/default/cron
  80.                                 default behaviour configuration file
  81.  
  82. SSSSIIIIGGGGNNNNAAAALLLLSSSS
  83.      A SIGHUP signal can be sent to _c_r_o_n to cause it to reexamine all the
  84.      _c_r_o_n_t_a_b and configuration files.  A message is logged for this event.
  85.      The SIGTERM signal should be used to shut _c_r_o_n down cleanly.
  86.  
  87. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  88.      at(1), crontab(1), sh(1).
  89.  
  90. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  91.      A history of all actions taken by _c_r_o_n is recorded in /_v_a_r/_c_r_o_n/_l_o_g.
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.