Notice: Undefined index: user_id in /home/staffi7/wm.staff-india.com/inc/header.php on line 69

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/staffi7/wm.staff-india.com/inc/header.php on line 73

Error: Could not retrieve Internal Task details.

HR Manager | Staff-India

Notice: Undefined index: user_id in /home/staffi7/wm.staff-india.com/inc/top_nav.php on line 5

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/staffi7/wm.staff-india.com/inc/top_nav.php on line 9

Error: Could not retrieve Internal Task details.

Task Details

CRON job for Absences

Assigned To:
  1. Scott (scott.ih@staff-india.com)
Assign By Admin On 2019-04-18
0%
Deadline:- 1916 Days Over from Deadline. You Have Missed The Deadline 1916 Days Ago

Task Details :-

Hi oscar,

 

i need you to create a cron job that will keep track of the absences each day. this data will be stored in a new table.

 

this is how it will work:

 

1. run cron job at 5am bd time.

2. check all employees that did not clock in in last 23 hours.

3. record the date, and total number in teh table

4. but also check the leave table, and check if anyone was on leave in the last 23 hours. you will need to minus this from teh total in point (2).

5. store the total leave count on separate column.

6. show the absence / leave chart from this table on WM dashboard on manager account. it should have 2 line charts. one for leave, one for absence.

 

the CRON job should do this automatically every day please.

let me know if you ahve any questions.

Task Current Status :-

Task Not Complete

Sub Task(s):

No Sub-task Added.

Task QA

Selected File:
Drag Your File Here
Or Click Here to pick

Comments  (3)

    Scott 18-04-2019 15:16:13

    Hi, I will need C-Panel access for this job.

    Scott 17-04-2019 21:14:16

    I will need C-Panel for this.

    Admin 27-03-2019 16:12:38

    hi oscar, did you start thsi task?