19
09/18
salesforce apex traced the number of query
System.debug('Current Query number:'+ Limits.getQueries())
19
09/18
salesforce执行apex job的两种方法
方法一,立即执行: YourScheduleApexClass s=new YourScheduleApexClass(); s.excute(null) ; 方法二:定时执行 SchedulerClassName sch = new SchedulerClassName(); String cronExpression = '0 30 8 1 * * '; // 8:30am every 1st day of the month System.schedule('EVP Dashboard', cronExpression, sch);