function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sugandhasugandha 

Batch job

Hi

    I have to code for a batch job which uploads a file from the computer on a given selected time.

Kindly help 

JiahJiah

Kindly Elaborate on what exactly you need.

Bhawani SharmaBhawani Sharma
I don't think so if you would be able to do this via batch. because batch runs asynchronously and uploading a file require user interface.
Avidev9Avidev9
If I am not wrong, You want to load data on nightly basis.
You can use the Dataloader Command Line.

Have a look at this link yes it is possible.
have a look at this blog http://www.sundoginteractive.com/sunblog/posts/automating-the-apex-data-loader