Design: c# and Quartz.net for a new project -
i working (or worse, trying figure out how works) quartz.net project. installed windows services , running. in design part of system i'm having quite lot of issues.
first: have no idea best way work quartz.net, if stand-alone server , make communication own software or service. want project these 3 tasks in schedule-oriented process:
launch reports , save them excel or pdf files in selected folder. these reports have register indicates name give file, type of file, time of execution and, if want repeat it, frequency: daily, weekly, monthly or yearly.
download every 10 or 15 minutes files ftp server populate content of reports. info of frequency of download of files registerd inside registers in database, info of ftp server system has conect.
update info of dynamic chart show inside of system. determined frequency of refresh, have registered inside database data show in chart , in header of chart have frequency want refresh data shown in chart.
maybe in future (long term) have incorporate other actions, want able develope solution these 3 tasks, can make generic future jobs/triggers. have design on how can translate data inside db these events , convert jobs , triggers quartz (i have worked quartz before, in java). biggest problem jumping between websites because there not complete documentation of new quartz (2.x). read documentation official website of quartz.net also, there no example , not complete api document of quartz.dll library , don't tell classes being deprecated , new.
if has bit more of expierence or has idea can read complete documentation subject, quite appreciate it.
edit
i found way alternative. found code through codeproject of simple library manage launch of jobs. since in design of solution, took , found easy understand , quite explained. don't need sofisticated quartz @ end gave try. source code , content available through this link.
the rest of solution below in answer.
since got no positive answers or comments... shall found solution , easier use in forum.
searching through alternatives quartz (the documentation of 2.x versions quite poor, , don't seem find correct changes through library quartz), found through this link quite simple way start jobs inside c#. guy posted code gave couple of hints of how can change interval of time using longer periods of time, i'm working on couple of changes interval of determined date , time, specified inside of system.
i busy in programming service executed through whole day in server, jobs won't depend of windows forms project.
Comments
Post a Comment