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 5 other people reading this forum.


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

👍?
helpful

Hello, I apologize if this has been asked already but I couldn't find a thread here that mentions this. Number 3 in the Project Fine-print states: "The crontab-file and the estimates-file will each contain at most 20 non-comment lines." Now I was wondering if this means that the crontab-file will always contain at most 20 commands. Thanks in advance.


SVG not supported

Login to reply

👍?
helpful
5:13pm Wed 31st Aug, Matthew C.
✅ content verified by our teaching staff  

Yes, 20 commands at most. It could contain ten commands but 20 non comment lines for example, if each command had two different times to run


SVG not supported

Login to reply

👍?
helpful

So does this mean we need to look into comment lines to check whether something should run twice, three times etc. or do we make the assumption that if there's two comment lines above a command in the cron file, then we should run the command twice?


SVG not supported

Login to reply

👍?
helpful
5:30am Sun 4th Sep, Christopher M.

ANONYMOUS wrote:
> So does this mean we need to look into comment lines to check whether something should run twice, three times etc. or do we make the assumption that if there's two comment lines above a command in the cron file, then we should run the command twice?
No, it doesn't mean that at all. Comment-lines provide comments/explanations for to human readers, or permit you to comment-out/hide any lines you don't want to be used/executed. Comments have no effect on the running of the program, as their contents are totally ignored. (I'm concerned as to where you got your ideas from - can you please explain how you arrived at your question, or where in the project description you assumed this??)

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