![]() Topic awaiting preservation: CRON job script to download emails from imap server to local database - bat file programming issue?? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: you tell me |
![]() OK so Im following on the last thread here - well I got my system all set to read from a database the emails. The tricky part now is downloading the emails to the database in the first place. However I tried a few options and all of them have some issues. |
Paranoid (IV) Inmate From: Florida |
![]() |
Bipolar (III) Inmate From: you tell me |
![]() Uh how do I make this do what I want? I want to download emails and then ENTER then into my database .. |
Maniac (V) Inmate From: there...no..there..... |
![]() quote:
|
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() quote:
|
Bipolar (III) Inmate From: you tell me |
![]() quote:
|
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() How are you determining the include paths? |
Bipolar (III) Inmate From: you tell me |
![]() Well I got this figured out to run from explorer but the thing is that this is a temporary solution. The issue is that we need a permanent scalable solution that would download emails from an IMAP server. Right now we have one script that does the downloading called by a scheduled task. Now the issue is that we want to launch our product such that lets say a new user signs up to use this website - it would require that a scheduled task be set up to download the users emails into his database as we plan on having separate databases for users. Is there anyway to like automate this part i.e. creation of cron or scheduled tasks in this fashion? Or is there a better way to do this? |
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() You don't need seperate scripts for that. Just one script that correctly closes and opens database connections. |
Bipolar (III) Inmate From: you tell me |
![]() Well teh thing is that this woudl be running as a daemon - I want to know is it possibel to create a cron job dynamically ? Liek lets say when a user signs up or so.. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() Please learn to type 'the' |