#5PM
This file is generated by the '5pm --help' command.
This script is used to calculate when it's "5pm". It calculates the time that the user can leave after working the defined workinghours. This is done by using the time that the user first logged in. Options:
--more | -m : Show some more output.
--quiet | -q : Don't show any output, for running on startup
--workhours | -w : Set the workhours, defaults to '08:30'
--debug | -d : Enable debug mode, aka echo some params
--start | -s : Don't use last to get the login time but the current time
--version | -v : Get the version
--snappy | -sn : Get a snappy comment back
Configuration based on a daily fasion can be done in the /home//.5pm/config file. Here one can add days where there are specific options. This is done in the following format:
Wed=--workhours='07:50' -m
This line sets the script to use 07:50 as workhours on Wednesday and also print more output that day. The matching is done based on 'date +%a'.