Dear ,
I have a struts application running in linux server. Please let me know how to run a cron job.Let me explain the scenario.
The users of the said application registers for the services for a particular time period. There is an expiry date for these members after which the users cannot login.
So on the expiry date , I want to set the users status as "In active" . The expiry date is already captured in the database(MySQL) . I thought of comparing this date with the current system date
and deactivate the members. Please let me know how to write and set a cron job for this. OR is there any better method to do this?
Request you help in this
Thanks
Vibhu
I have a struts application running in linux server. Please let me know how to run a cron job.Let me explain the scenario.
The users of the said application registers for the services for a particular time period. There is an expiry date for these members after which the users cannot login.
So on the expiry date , I want to set the users status as "In active" . The expiry date is already captured in the database(MySQL) . I thought of comparing this date with the current system date
and deactivate the members. Please let me know how to write and set a cron job for this. OR is there any better method to do this?
Request you help in this
Thanks
Vibhu