orangehrm - Man Page
Command line client for OrangeHRM
Synopsys
orangehrm [OPTION...]
Description
Set or show time sheet in OrangeHRM system.
Options
Without any options, it will show time sheet for current month.
Options for configuration
These options can be retrieved from configuration file.
- --url URL
Base URL where OrangeHRM instance is running.
- --username USER
User name to log in as. If not specified, it will be asked when needed.
- --password PASSWORD
Password to use. If not specified, it will be asked when needed.
Options for showing a time sheet
- --year NUMBER
Year of Gregorian calendar, default is today.
- --month NUMBER
Month of year, counts from 1, default is today.
Options for filling a time sheet
- --year NUMBER
Year of Gregorian calendar, default is today.
- --month NUMBER
Month of year, counts from 1, default is today.
- --day NUMBER
Day of month, counts from 1, default is today.
- --from HH::MM
- --from boot
- --from now
Begining of working time. Use
boot
for boot time. Usenow
for current time.- --to HH::MM
- --to boot
- --to now
End of working time. Use
boot
for boot time. Usenow
for current time.- --break HH:MM
Vacant part in the working time for purpose of working break.
- --doctor HH:MM
Vacant part in the working time for purpose of medical check.
- --comment STRING
Free comment to the day.
- --trip
Specify if you are on bussines trip on this day.
- --work
Negation of --trip option. Working hours are filled as at-work by default. This option is usefull only to flip the trip state to work when using --amend.
- --amend
Partial modification. With this option, only records with explicit option will be changed. By default, unspecified arguments reset corresponding records to their default values.
Options for submitting a time sheet
- --submit
Submit current month's time sheet for review.
- --year NUMBER
Year of Gregorian calendar, default is today.
- --month NUMBER
Month of year, counts from 1, default is today.
- --comment STRING
Free comment to the submission.
Options for debugging
- --debug
Dump sent HTTP requests and other useful data.
Other options
- --help
Show program manual.
- --version
Show program version.
Files
~/.orangehrm
User configuration:
url = https://redhat.orangehrm.com/ samlidp = https://saml.redhat.com/ samlout = https://example.redhat.com/bye #username = ppisar #password = Foo
If LWP::Authen::Negotiate Perl module is installed, and a valid Kerberos ticket granting ticket is available, user name and password are not needed in the configuration.
Copyright
Copyright © 2012, 2013, 2014, 2015, 2017, 2019 Petr Písař <ppisar@redhat.com>.
License
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.