would you please explain about batch process and how to write the batch process for Account and Contact..one day if i creartre 10 Accoutns that each Account details should be converted as csv or excel file end of the particuler day.
While we'd be glad to help you out with any problems you might be having in regards to writing this code, it seems that you've made no effort to read the Apex Code Developer's Guide or any posts on this forum. Everything you need, including a ton of code samples, is already readily available here on the forums and in the documentation. All you have to do is read the section on Apex Schedulable classes, Apex Batch classes, and Apex Email classes. I presume that you should already know how to create a CSV string (if not, that's here on the forums, too).
While we'd be glad to help you out with any problems you might be having in regards to writing this code, it seems that you've made no effort to read the Apex Code Developer's Guide or any posts on this forum. Everything you need, including a ton of code samples, is already readily available here on the forums and in the documentation. All you have to do is read the section on Apex Schedulable classes, Apex Batch classes, and Apex Email classes. I presume that you should already know how to create a CSV string (if not, that's here on the forums, too).
Read my post to get started with this
http://www.forcelabs.net/2011/10/how-to-use-batch-apex-in-salesforce.html#more