DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ F T

⟦657918410⟧ TextFile

    Length: 1974 (0x7b6)
    Types: TextFile
    Notes: @(#)Form.rel_time 13.3 (RC International) 91/12/03
    Names: »Form.rel_time«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/sadm/sysadm/add-ons/sysadm/backup_service/schedule/later_time/add/rel_time/Form.rel_time« 

TextFile

# Ident: @(#)Form.rel_time	13.3 (RC International) 91/12/03
form="Set releative backup time"
`set -l ATDATE= ""`
close=`
if [ $ATDATE != "" ];
then
  /bin/rm at_job;
  echo $atp > at_job;
  /usr/bin/at $ATDATE < at_job >/tmp/$VPID.at_error 2>/tmp/$VPID.at_error;
  if [ "$RET" = "1" ];
  then
    cat /tmp/$VPID.at_error | set -l at_error;
    message -t "$ATDATE is a wrong date, cause:  \"$at_error\"";
  else
    message -t "The job is inserted to be executed at $ATDATE";
  fi;
  /bin/rm -f /tmp/$VPID.at_error;
  /bin/rm at_job;
fi;
`

help=OPEN TEXT $INTFBASE/Text.itemhelp at:add:rel:$LININFO 
done=`set -l ATDATE="now +"\ $F2\ $F1;
      echo close`

begrow=any
begcol=any

# Table field - F1
name=Unit:
lininfo=F1
nrow=1
ncol=2

frow=1
fcol=23
rows=1
columns=7

value=hours
rmenu={ minutes hours days weeks months years }
menuonly
fieldmsg="Enter the unit from (minutes,hours,days,weeks,months,years)"
choicemsg="Enter the unit for the relative backup time"
invalidmsg="Use the choise key to select a valid unit"

# Table field - F2
name=Set number of units:
lininfo=F2
nrow=2
ncol=2

frow=2
fcol=23
rows=1
columns=7

value=1
fieldmsg=vary "Enter the the number of \+bd$F1\-bd until the backup time"
choicemsg=vary "Enter the the number of \+bd$F1\-bd until the backup time"
invalidmsg=vary "Number of "$F1" must be positive"
valid=`[ $F2 -ge 1 ]`

# Table field - F3
name="----------------------------------"
inactive=true
nrow=3
ncol=0
frow=3
fcol=1
rows=1
columns=0
# Table field - F4
name=Move the cursor to the field you
nrow=4
ncol=1
frow=4
fcol=30
rows=1
columns=0
# Table field - F5
name=want to change, and change it, or
nrow=5
ncol=1
frow=5
fcol=30
rows=1
columns=0
# Table field - F6
name=enter SAVE to insert the backup
nrow=6
ncol=1
frow=6
fcol=30
rows=1
columns=0
# Table field - F7
name=job in the queue for for later
nrow=7
ncol=1
frow=7
fcol=30
rows=1
columns=0
# Table field - F8
name=performed jobs.
nrow=8
ncol=1
frow=8
fcol=30
rows=1
columns=0