version 0.2.7


Install an atd client


fresco
 
bear
 
 
  The included at daemon in the 0.2.7 package isn't fully reliable. Looking at the updated at daemon gave inspiration to improve the program. It needed a way to
    * recognize the difference between week and weekend
    * have more than one assignment on the same time-line
    * a rc-handler for easy rescheduling
  As it turned out it became quite a comfortable package. The basic at scheduler is ~630 bytes and the rc-handler is another ~930 bytes. One assignment adds about ~60 bytes.
  This is in comparison to the size of cron, ~22K, you might be able to have something more running on your Freesco, especially if your router is floppy based.
  All the work with atd has been done on my 486/66 and therefore all timing are stated from that kind of performance.
  The at daemon isn't running by default. You have to kick it into action via a command in rc_user. This at scheduler is selfrunning, every minute. As a consequence of the construction of the at scheduler, its run-through time will be prolonged with the time it takes to finish checking the commands. A rough estimate is that it takes about half a second to check an assignment. So be careful not to overload your at scheduler. A simple rule will be, if you have more than 40 entries than cron is the better scheduler. Overloading the scheduler might be the cause to that one or more entries are not executed.
  Adding an assignment is easy. There's a command supplied for that. As an example, to substitute your bed clock:
if [ $C = 0643 ]; then
  echo "work is ahead"
fi
  You can also, easy attach recognition of weekend like this:
if [ $C = 0843 ] && [ $W = 0 ]; then
  echo "today is weekend"
fi
  Finish your editing session with a restart.
  In an effort to keep the run-through time as non-variable as possible you can end the command with an "&" and putting execution in the background, when appropriate.

  To make any installations on your Freesco box, a keyboard and a monitor must be connected and your privileges have to be root.
Start from the point where this how to is assumed to begin.
[ Linux] cd
Ready to renew your atd client? Off we go.
[Linux] installpkg http://www.abc.se/%7Em989/Frsco/pkgs/atd_0.16_ysby-027
  It is working by itself. At the beginning there's a question whether you want to proceed. Well, make your decision and finish.

Now, start entering the assignments directly into the at daemon. Keep adding 'til all are in place.
[Linux] rc_atd -e

Time to restart, and you can keep your uptime chugging :-)
[Linu x] rc_atd restart
  If the previous steps have passed without anything peculiar showing up, you are set.
Typing a "ps" should show the daemon running along.
[Linux] ps
407     S       1       atd     sh/etc/atd

  Keep walking.
hansmade  
host: www.abc.se
 10-7-6