Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).

Assignment 2 and Clarifications.
 
Options:
RSS cloud
Jump to:

The direction for Q3

1 of 390 articles shown, currently no other people reading this forum.
photo
From: Christopher M.
Date: Tue 26th May, 7:23am
Actions: 
        Login-to-reply
"Jichunyang Li"                               wrote:

> For task 3, the schedule (workday, Saturday, and Sunday) and stopping patterns of each line should be 
> considered, right? Thanks.

The simplest approach is to first determine 'today', using the date command,
and to then only consider trips running on that day.

While that work needs to run first (very early) in your script, you may wish to first assume that every day
is, say, Monday, and then work with those trips.

Related articles

The direction for Q3 (all 6) RSS
├─ original   Sun 24th May, 4:14pm, Jichunyang L.
├─ reply 1   Mon 25th May, 8:54am, Lee dB.
├─ reply 2   Mon 25th May, 8:56am, Jichunyang L.  O.P.
├─ reply 3   Mon 25th May, 1:43pm, Christopher M.
├─ reply 4   Mon 25th May, 3:47pm, Jichunyang L.  O.P.
└─ THIS   Tue 26th May, 7:23am, Christopher M.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020