nussucommit / docs

NUSSU commIT Technical Cell Documentation
0 stars 0 forks source link

Quick Print has hackish reset script #3

Open donjar opened 7 years ago

donjar commented 7 years ago

The first 2 rows in YIH have quick printing setup. In this system, users do not need to log in to their users as this used to take forever.

Some users forgot to remove their files after they print using the computer. Since the computers used a shared user, we decided to delete them automatically every time the user is logged out.

However, currently we delete it using an equivalent of rm -rf user_folder. This is hackish, and results in some error messages randomly popping out. In some cases it even makes logging in much slower.

Design a proper script to delete the files instead.