in salesforce how to run batch from develop console and schedule job apex job
来源:互联网 发布:气象局和环保局知乎 编辑:程序博客网 时间:2024/05/22 13:52
登陆到salesforce ,然后点击developer console 进入。
然后输入
Id <variable name>= Database.execute(new <Class name>(), batch size);Id batjobId = Database.execute(new RunThisBatch(), 200);
注意是类需要初始化。
可以在set->develop->apex classes->schedule apex 中添加apex class 设置执行时间段等。
当然batch在运行的时候,会在moniting->apex jobs 中查看到batch的执行情况。
可以在 moniting ->schedule jobs 中管理需要定时运行的batch
小提示:如果第一次增加 schedule apex的时候没有成功,可以去修改一下需要增加的apex class,然后保存。目的就是为了更新一下这个apex class的时间,避过系统的检测。
这样就可以正常添加了。
0 0
- in salesforce how to run batch from develop console and schedule job apex job
- [引用]SQL Server 2005 Books Online How to: Create a Job with Steps and a Schedule in Visual Basic .NET
- [Salesforce] How to determine the login environment from Apex
- How to run an existing SQL Server Agent Job from C#
- How to start a DB job by batch file
- How-To: Run a MapReduce Job in CDH4 using Advanced Features
- How to develop and deploy DNN Schedule Task
- Program to set ZZBX status in batch job - ZRPP0013
- How to run SSIS Project as a SQL Job
- Powershell: schedule job in Powershell
- How to Develop and Run JavaFX Applications Offline
- Run Spring batch job with CommandLineJobRunner(三)
- How to check invalid objects and broken job in multiple database
- HOW TO Kill The Running Job in Oracle
- How to do the job effectively and excellently
- how to find background job and stop them
- Submitting a Batch Job in PBS
- how to use spring job
- android listview
- android 使用proguard 代码混淆后,出现异常 Missing type parameter.
- CSS可视化格式模型
- 只有受到刺激,"激励"才会进步,改变
- strtok()函数
- in salesforce how to run batch from develop console and schedule job apex job
- boost::noncopyable学习
- ANSI、MBCS、UNICODE字符集
- 将整数逆序输出
- hdu3938(并查集+离线)
- linux查找相关文件
- 补码,源码,反码
- android登录记住密码
- learn_to_code