It's UWAweek 48

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying the 4 articles in this topic
Showing 4 of 919 articles.
Currently 2 other people reading this forum.


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
4:24pm Thu 25th Aug, ANONYMOUS

Hi Chris, Just to clarify, if a command exists in the estimates file but not crontab, would that be considered a validation error? I am assuming that the inverse scenario where a command existing in crontab but not estimates would be an error due to lack of running time for that command. Could you please confirm? Thanks.


SVG not supported

Login to reply

👍?
helpful
6:27pm Thu 25th Aug, Simon E.
✅ content verified by our teaching staff  

I'm not Chris but I may be able to help.
>From the task brief, it says that there won't be a command in the crontab that isn't in the estimates file. With a command that appears in the estimates file but not the crontab, I don't think it would be necessary to provide error checking for this as the estimates file is created "from running a command on multiple previous occasions" so could potentially hold data about other functions that may not be relevant to the crontab.
Hope this helps!


SVG not supported

Login to reply

👍?
helpful
10:17pm Thu 25th Aug, Huxley B.
✅ content verified by our teaching staff  

I'm pretty sure it would not be considered an error. Talking about the estimates file, the project page says

The first word specifies the name of a command (that will possibly appear in the crontab-file).

which suggests that there's no issue with a command appearing in the estimates file but not in the crontab file.


SVG not supported

Login to reply

👍?
helpful
4:41am Fri 26th Aug, Christopher M.

Thanks for everyone's (correct) responses.

Command-names in the crontab file are guaranteed to appear in the estimates file (no need to check for, or report, an error).

Command-names appearing in the estimates file might not be ever used in the crontab file.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy