Hello,
   Thanks to those that helped me with the new printer thread the
other day. We purchased an HP M1522nf from NewEgg. It arrived in under
24 hours and tool me less than 2 minutes to get a test page. Quite a
success. Thanks!

   I'd now like to set up a cron job to print a small file each
evening just to keep the printers rollers moving every day. I've never
used cron before. It looks *fairly* straight forward but I'd like to
get some verification if I might. Thanks again.

1) In /root I created a small executable file that store df -h to a
file and then I print that file using lpr. I executed that file using
lpr -D HP_M1522nf print_todays_info and it appears to have worked.
(I'm remote but I do see a print job in the CUPS records. I'll call
later to see if it's printing correctly but I suspect it is.)

2) As root I ran crontab -e. The editor (nano) came up fine.

3) I entered the following line for testing

5 * * * * /root/print_todays_info

If I'm correct then I understand that this would run the job every
hour 5 minutes after the hour. I'll change it to

5 1 * * * /root/print_todays_info

after I've tested it a bit more to make it a 1:05AM print job.

Looking in the CUPS logs on the remote machine it appears a new copy
printed a 5 minutes after 9AM so I'm thinking it's set up.

Does this sound about right? Anything else I should be doing?

Thanks,
Mark

Reply via email to