[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::digital

Title:The Digital way of working
Moderator:QUARK::LIONELON
Created:Fri Feb 14 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5321
Total number of notes:139771

252.0. "Hatch a batch" by FRSBEE::COHEN (Bowling for Towels) Fri Jan 16 1987 00:31

re: 1.10

I'm sure this is explained elsewhere, but could someone please explain how to
set up batch processing as described in this note.

Thanks,

Mark
T.RTitleUserPersonal
Name
DateLines
252.1daily.comHUMAN::SZETOFri Jan 16 1987 11:0712
$ resubmit_interval = "1"
$ if f$cvtime("today",,"weekday") .eqs. "Friday" then resubmit_interval = "3"
$ submit/noprint daily/after="today+''resubmit_interval'-0:30"
$ notes
open/noautomatic digital
save/all/seen/unseen digital.txt *.*
next unseen
exit
$ exit

    Also see WARLRD::VAXNOTES_INTRO and DECWET::ENOTES.
    
252.2Q & AVMSDEV::SZETOSimon SzetoSat Jan 17 1987 12:2614
>I took the instructions you gave and put them in a file called "Daily.com"

Assuming that you're in your SYS$LOGIN directory, that's correct.  If you
use only one level of directories, then that's academic.  You'll have to
SUBMIT the job the first time, and then it'll resubmit itself.

>Where will the update appear when the batch runs, 

It'll be in DIGITAL.TXT in your login directory.

>Is there a way to set it up to run on Sat and Sun too.

Take out the line that tests for today being Friday.