Salesforce Schedule APEX Batch Job
To test an APEX Batch job, open the Developer Console then the Anonymous Execute window. Here’s the code to run the job: datetime thisTime = system.now().addMinutes(1); integer second = thisTime.second(); integer minute = thisTime.minute(); integer hour = thisTime.hour(); integer day = thisTime.day(); integer month = thisTime.month(); integer year = thisTime.year(); String timeStamp = second + ‘ ‘ + minute + ‘ ‘ + hour + ‘ ‘ + day +