cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduled File import into Alfresco Repository

subbublr
Champ in-the-making
Champ in-the-making
Hello Everyone,

I am trying to import documents into alfresco respository on a scheduled basis from a file system (once every 30min).  Can you please suggest me the possible options to do this.
3 REPLIES 3

mlagneaux
Champ on-the-rise
Champ on-the-rise
Hello,

If you want to execute code on a regular basis, the best way is toi develop a job.
You should read the following article of the wiki : http://wiki.alfresco.com/wiki/Scheduled_Actions
There's also a sample file (i don't remember but i think it's called scheduled-actions-context.xml.sample).

subbublr
Champ in-the-making
Champ in-the-making
I need to create some folder based on the document metadata (saved as XML files in the same folder as the original document).  Can I do this in scheduled actions.

Can you please point me an example for this or similar job

romschn
Star Collaborator
Star Collaborator
You can inject alfresco services in your scheduled job class and create node from your scheduler.