| |
Practical Exercises with at and cron
Complete the exercises below on run01 VM
Install package at:
As user hostadm, Create script, mem.sh, to check memory status:
Make it executable
and run through at:
Run atq to make sure the job is scheduled.
In a minute, check content of a new file, mem.out;
run atq again.
Remove file mem.out.
Add the following entry in /etc/crontab below the other scheduled tasks:
Check if the content of mem.out is updated every 2 minutes.
|
|