package Ġtest Ċ Ċ import Ġnet . iam tak agi . ts uki . common . Env Ċ import Ġnet . iam tak agi . ts uki . services . tweet . T weets Job Ċ import Ġorg . quartz . Cron Schedule Builder Ċ import Ġorg . quartz . Job Builder Ċ import Ġorg . quartz . Trigger Builder Ċ import Ġorg . quartz . impl . Std Scheduler Factory Ċ import Ġjava . util .* Ċ Ċ fun Ġmain () Ġ{ ĊĠĠĠ Ġval Ġscheduler Ġ= ĠStd Scheduler Factory . getDefault Scheduler () ĊĊĠĠĠ Ġval Ġjob Ġ= ĠJob Builder . new Job ( T weets Job :: class . java ) ĊĠĠĠĠĠĠĠ Ġ. with Identity (" T weets Job ", Ġ" Z ets ume ts u ") ĊĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠ Ġval Ġtrigger Ġ= ĠTrigger Builder . new Trigger () ĊĠĠĠĠĠĠĠ Ġ. with Identity (" T weets Trigger ", Ġ" Z ets ume ts u ") ĊĠĠĠĠĠĠĠ Ġ// Ġ. with Schedule ( cron Schedule (" 0 Ġ 0 Ġ* Ġ* ĠT UE ")) ĊĠĠĠĠĠĠĠ Ġ. with Schedule ( Cron Schedule Builder . cron Schedule (" 0 Ġ 5 6 Ġ 0 Ġ? Ġ* ĠW ED "). in TimeZone ( TimeZone . getTime Zone ( Env . TZ ))) ĊĠĠĠĠĠĠĠ Ġ. start Now () ĊĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠ Ġscheduler . schedule Job ( job , Ġtrigger ) ĊĠĠĠ Ġscheduler . start () Ċ } Ċ