home‎ > ‎utilities‎ > ‎

infx sched

List sql trask scheduler jobs

usage

infx sched [ order act group ttype name next ]
  optional
    order - change output order
    act - show only active jobs t/f
    group - show only jobs in matching group
    ttype - show only jobs of matching type
    name - show jobs with matching name
    next - show jobs scheduled at this time

example

demo1@bobii:/home/informix>infx sched

act  id  group        ttype      name                     next                 start     stop      days
... snip ...
t    32  PERFORMANCE  TASK       Auto Update Statistics E 2012-03-22 01:00:00  01:00:00  01:10:00  m tu w th f sa su
t    2   SERVER       SENSOR     mon_config               2012-03-22 05:00:00                      m tu w th f sa su
t    1   TABLES       TASK       mon_command_history      2012-03-22 14:47:23  02:00:00            m tu w th f sa su
t    9   TABLES       SENSOR     mon_table_profile        2012-03-22 14:47:23                      m tu w th f sa su
t    10  TABLES       SENSOR     mon_table_names          2012-03-22 14:47:23  02:00:00            m tu w th f sa su
t    15  BACKUP       TASK       check_backup             2012-03-22 14:47:23  05:00:00            m tu w th f sa su
t    17  SERVER       TASK       Alert Cleanup            2012-03-22 14:47:23  02:00:00            m tu w th f sa su
t    20  TABLES       TASK       Job Results Cleanup      2012-03-22 14:47:23  03:00:00            m tu w th f sa su
t    33  PERFORMANCE  TASK       Auto Update Statistics R 2012-03-24 01:11:00  01:11:00  05:00:00  sa su
... snip ...

Show only TABLES tasks.

demo1@bobii:/home/informix>infx sched group=tables

act  id  group   ttype   name                 next                 start     stop  days
t    1   TABLES  TASK    mon_command_history  2012-03-22 14:47:23  02:00:00        m tu w th f sa su
t    9   TABLES  SENSOR  mon_table_profile    2012-03-22 14:47:23                  m tu w th f sa su
t    10  TABLES  SENSOR  mon_table_names      2012-03-22 14:47:23  02:00:00        m tu w th f sa su
t    20  TABLES  TASK    Job Results Cleanup  2012-03-22 14:47:23  03:00:00        m tu w th f sa su

notes

  • output format defined in /infx/template/infx-cli/infx-cli-sched.htmlt, copy to /infx/local/etc and change there
  • see TASKSCHED for the list of what information is available
  • use the TASKMOD command to change schedules