# Every week DB tasks

**URL:** <https://forums.percona.com/t/every-week-db-tasks/329>\
**Category:** Other MySQL® Questions\
**Created:** [May 19, 2007, 12:02am UTC](https://forums.percona.com/t/every-week-db-tasks/329 "2007-05-19T00:02:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuvalrooz](https://avatars.discourse-cdn.com/v4/letter/y/59ef9b/32.png) [@yuvalrooz](https://forums.percona.com/u/yuvalrooz)\
**Post date:** [May 19, 2007, 12:02am UTC](https://forums.percona.com/t/every-week-db-tasks/329/1 "2007-05-19T00:02:11Z")

</div>

Hi,

I want to create forms from the information in my database. I want to create some forms every week and some every months. Once a form is generated, I want to delete all of the information in the DB. Is there a way to do so automatically, or I have to perform these tasks every week???

Thanks for the help,

Yuval

---

<div class="post-metadata">

**Author:** ![sterin](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@sterin](https://forums.percona.com/u/sterin)\
**Post date:** [May 19, 2007, 3:58am UTC](https://forums.percona.com/t/every-week-db-tasks/329/2 "2007-05-19T03:58:09Z")

</div>

You will have to write a script for it and setup the cron facility in Unix to run it each week at a certain time for you.
