AddRecurringScheduleShfits
Posted: Thu Oct 04, 2007 12:25 pm
Hi guys:
I've come acros the next issue, I hope you can help me sort it out.
I have set up recurring scheduled shifts for two 3 users, one of them has autofill enabled. My cron jobs get executed properly. But I have noticed that AddRecurringScheduleShift.php only does one loop when executed trough cron jobs or command line (php AddRecurringScheduleShift.php) , therefore subsequent users never get inserted or punched into the schedule table.
However when the script (AddRecurringScheduleShift.php) is called from the browser it does loop normally trough all the users asigned to schedule.
Any help apreciated.
I've come acros the next issue, I hope you can help me sort it out.
I have set up recurring scheduled shifts for two 3 users, one of them has autofill enabled. My cron jobs get executed properly. But I have noticed that AddRecurringScheduleShift.php only does one loop when executed trough cron jobs or command line (php AddRecurringScheduleShift.php) , therefore subsequent users never get inserted or punched into the schedule table.
However when the script (AddRecurringScheduleShift.php) is called from the browser it does loop normally trough all the users asigned to schedule.
Any help apreciated.