Previous page

Next page

Clocks.ini File

Summary

Important: Do not edit the settings in this file without the advice of your PayGlobal consultant. Any alterations will have significant impact on the import of clock data.

The clocks.ini file is stored in the \data\clock folder.

PayGlobal accesses the clocks.ini file to 'know' what the data file from the clock contains.

Reading the clocks.ini file

The beginning of the clocks.ini file contains a header section ('Available Clocks') which details the different types of clocks that are installed at a site.

The name of the clock specified under 'Available Clocks' must exactly match the name of the clock specified in square brackets in the detailed section of the clocks.ini file.

This name must also exactly match the Clocks.ini section field within the Clocks entity itself (in PayGlobal).

The fields in the detailed section of the clocks.ini file are used to determine:

BatchFile=

Optional

Can be used to 'call' an external application to poll the clock and retrieve clock data.

DataFile=

Compulsory

Defines the name of the file that contains the polled data.

DataFormat=

Optional

Not usually used by PayGlobal.

ClockNum=

Optional

Determines at what position in the file the clock number is written.

CardNum=

Compulsory

Determines at what position in the file the card number for the employee is written.

Hours=

Compulsory

Determines at what position in the file the hours for the clock swipe are written.

Minutes=

Compulsory

Determines at what position in the file the minutes for the clock swipe are written.

Day=

Compulsory

Determines at what position in the file the day for the clock swipe is written.

Month=

Compulsory

Determines at what position in the file the month for the clock swipe is written.

Year=

Compulsory

Determines at what position in the file the year for the clock swipe is written.

KeyCode1=

Optional

Determines at what position in the file the first key code for the clock swipe is written.

KeyCode2=

Optional

Determines at what position in the file the second key code for the clock swipe is written.

KeyCode3=

Optional

Determines at what position in the file the third key code for the clock swipe is written.

KeyCode4=

Optional

Determines at what position in the file the fourth key code for the clock swipe is written.

 

See also

Clocks

Previous page

Next page