How to schedule 'Generate Audit Report' monthly 2nd day , so that it generates output for the last month
We have tried creating new custom job similar to Generate Audit Report and enabled Date Argument Numbers (1,2) which is the date parameters , but it was not returning the data as expected. Its taking the number of days inbetween the first & sec scheduled date
Example:
If we schedule at Dec-2 to run for every month on 2nd day then below are the start date & end date it is taking as parameter , but our requirement is to return the last month data
Scheduled date__Parameters taken
Dec-2_____________nov-1 nov-30
Jan -2_____________dec-2 dec-31
Feb-2_____________jan-2 jan-31
Mar-2_____________jan-30 feb-28
Apr-2_____________mar-2 mar-31
May-2_____________apr-1 apr-30
Jun-2_____________may-2 may-31
Please let us know if any alternative ways are there