PLEASE NOTE: the upgrades to this server, secure.csse.uwa.edu.au, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49

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 6 articles in this topic
Showing 6 of 919 articles.
Currently 3 other people reading this forum.


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

Login to reply

👍?
helpful
12:39pm Mon 29th Aug, ANONYMOUS

Hi, I was wondering how we can read into any file, given that we don't have that particular file stored in our local computer. For example, when marking our source code, how would our work read the given sample data? This is what I'm still confused about. Help would be greatly appreciated as it seems I'm missing something here. Thanks.


SVG not supported

Login to reply

👍x1
helpful
12:59pm Mon 29th Aug, Christopher M.

ANONYMOUS wrote:
> Hi, I was wondering how we can read into any file, given that we don't have that particular file stored in our local computer. For example, when marking our source code, how would our work read the given sample data? This is what I'm still confused about.
You will submit your project's source code, it will be compiled, and then run by providing filenames on its command-line. Your project will be tested with files other than the samples from the project sheet. Your project should not rely on fixed filenames, stored in fixed locations. (we also usually say 'reading in files' so as not to confuse it with 'writing into files')


SVG not supported

Login to reply

👍?
helpful
11:43pm Tue 30th Aug, ANONYMOUS

Hello! When we read the crontab file execution times (expressions), how do we relay this information to the system and what do we do with the estimates time information? I get how to store the data but am unsure of the 'linking' process of timing these tasks and executing them at the given time. If this makes sense at all, please help! Thanks.


SVG not supported

Login to reply

👍?
helpful
6:18am Wed 31st Aug, Christopher M.

ANONYMOUS wrote:
> Hello! When we read the crontab file execution times (expressions), how do we relay this information to the system and what do we do with the estimates time information? I get how to store the data but am unsure of the 'linking' process of timing these tasks and executing them at the given time. If this makes sense at all, please help! Thanks.
(your question is a little confusing, but) we use the estimates of execution time to determine when a process should terminate. If a command starts at 10:00am, and it's estimated to run for 9 minutes, we 'say' that it has terminated somewhere between 10:08 and 10:09am. You can (should) experiment with this question using the sample solution.


SVG not supported

Login to reply

👍?
helpful
2:17pm Wed 31st Aug, ANONYMOUS

"Christopher McDonald" <ch*i*.*c*o*a*[email protected]*a*e*u*a*> wrote:
> ANONYMOUS wrote: > > > Hello! When we read the crontab file execution times (expressions), how do we relay this information to the system and what do we do with the estimates time information? I get how to store the data but am unsure of the 'linking' process of timing these tasks and executing them at the given time. If this makes sense at all, please help! Thanks. > > (your question is a little confusing, but) we use the estimates of execution time to determine when a process should terminate. > If a command starts at 10:00am, and it's estimated to run for 9 minutes, we 'say' that it has terminated somewhere between 10:08 and 10:09am. > > You can (should) experiment with this question using the sample solution.
That clears it up, thanks. I've tried my files using the sample solution but it returns " '' is an invalid minute" when all my minute values are valid values - no minute value is missing. I suppose I'd have to try again.


SVG not supported

Login to reply

👍?
helpful
6:20am Thu 1st Sep, Christopher M.

ANONYMOUS wrote:
> That clears it up, thanks. I've tried my files using the sample solution but it returns " '' is an invalid minute" when all my minute values are valid values - no minute value is missing. I suppose I'd have to try again.
Hello, I'm afraid that I can't replicate this issue when I cut-and-paste the two files from the project description into the sample solution. In this post: [help2002] you said "....when the first character of a line is empty" What did you mean by 'empty'? Are you describing an empty line (which is not permitted 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