It's UWAweek 48


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 selected article
Showing 1 of 919 articles.
Currently 5 other people reading this forum.

 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

6:17pm Wed 14th Sep, ANONYMOUS

Hello, just for clarifications if we have commands with the same total number of commands invoked, are we allowed to return any of them? Based on the sample solution with month =7, it returns (weekly-backup 5 2) even though all of the commands have the same total number. Why does it return the 2nd command and not return the first or last command from crontab file? Is it safe to assume that as long as the total numbers are the same, then we can return any of the commands? Thank you! crontab file: # execute a command at 3AM every day 8 2 7 * 0 daily-backup # # execute a command at 4:15AM every Sunday 15 4 7 7 sun weekly-backup # # start thinking about the project.... 0 10 7 * 0 deep-thought # # submit my project automatically, just in case I forget! 59 16 16 7 * submit-project # # mail out a monthly newsletter 0 2 7 7 0 send-monthly-newsletter estimates file: # format: command-name minutes weekly-backup 6 daily-backup 2 send-monthly-newsletter 10 submit-project 1 deep-thought 600

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