Select Tasks by Day
Get the current day name,
look for tasks for that day.
$ TODAY = F$CVTIME( ,, “WEEKDAY” )
$ PRC_NAME := [.‘TODAY’]WEEKLY.COM
$ FSP = F$SEARCH( PRC_NAME )
$ IF FSP .NES. “” THEN -
$ @ &FSP
Notes:
Here’s an illustration of one method for finding tasks to be performed on a specific day.
Notice that the day name is used as the name of the subdirectory where the tasks (procedures) for that day will be found.
The symbol substitution methods used in the example will be discussed in more detail in the Intermediate portion of this session.