Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!bob From: bob@uxa.cso.uiuc.edu (Bob Foertsch) Newsgroups: comp.sources.wanted Subject: Re: daily backups Keywords: daily backups Message-ID: <1990Mar1.025851.12311@ux1.cso.uiuc.edu> Date: 1 Mar 90 02:58:51 GMT References: <118@comspec.UUCP> <1990Feb27.173223.6450@virtech.uucp> Sender: news@ux1.cso.uiuc.edu (News) Distribution: na Organization: University of Illinois at Urbana Lines: 15 #!/bin/sh set `date | sed -e 's/^\(...\)........\(..\):.*/\1 \2/'` DAY=$1 HOUR=$2 now that you have the day of the week and the hour of the day you can setup case statements to do what you need. -- Bob Foertsch bob@uxf.cso.uiuc.edu Unix Systems Administrator