You have an EXEC called DAYREPT that you want to run each day when you finish work at 5:00 p.m. To receive a log file each time your request runs, enter the following command:
vmsched schedule dayrept dayrept (at 17:00:00 again daily log
To have your associate, Alice, receive the log file, enter the following command:
vmsched schedule dayrept dayrept (at 17:00:00 again daily log spool alice
To receive a log file only when the request does not complete successfully (for instance, it skips a request or produces execution errors), enter the following command:
vmsched schedule dayrept dayrept (at 17:00:00 again daily except
To never receive a log file, error messages, or the notice of the request’s last run, enter the following command:
vmsched schedule dayrept dayrept (at 17:00:00 again daily nolog
|
Copyright © 2013 CA.
All rights reserved.
|
|