beautypg.com

How to print a listing of cron entries, How to print a listing of cron entries -6 – Gasboy CFN III Manager Manual V3.6 User Manual

Page 232

background image

Automatic Cron Commands

How To Print a Listing of Cron Entries

Page 21-6 MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010

How To Print a Listing of Cron Entries

Use the command PRINT CRON or P CR to print a listing of cron entries. The listing shows
the command number, when the command will be executed, and the name of the command.

PRINT CRON (P CR)

[P:]* PRINT CRON

# When Command
1 *** **/**/** 8:00 SHIFT1
2 *** **/**/** 12:01 PRINT PUMP;>>PUMPLOG
3 RESTART MYCRASH
4 REBOOT MYBOOT
5 *** **/**/** 12:03 -PR_DATA
6 *** **/**/** 17:00 SHIFT2
7 *** **/**/** 1:00 SHIFT3
[P:]*

Asterisks are substituted for time fields that were not specified. For example, if no day of the
week were specified, only three asterisks would appear where Mon, Tue, and so on would
otherwise be printed. Also, the listing will automatically separate the time fields by spaces or
slashes.
How to Remove Cron Commands
To remove a single CRON entry, use REMOVE CRON or REM CR and specify the entry
number. You may use the C option with the REMOVE CRON command.

REMOVE CRON (REM CR)

[P:]* REMOVE CRON;C

Command number? 4

Command number? 6

Command number?

[P:]*

The REMOVE CRON command has two options:

• The A option attempts to terminate a currently running disk-based program. It also

terminates any currently running cron command and any Site Controller commands
running from a console.

• The I option deletes any pending EXECUTE commands.

[P:]* LOAD CRON;I

[P:]*

Use the command LOAD CRON with the I option to clear all cron entries from the cron file.

This manual is related to the following products: