CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   MySQL (http://www.codingforums.com/forumdisplay.php?f=7)
-   -   Firing off SQL via Cron (http://www.codingforums.com/showthread.php?t=2603)

fritz Jung 07-24-2002 03:11 PM

Firing off SQL via Cron
 
A newbie here...

Can anyone point me to the basics of how firing off a sql statement can be done automatically by CRON on a unix box?

Essentially I want to have a sql sript that clears daily totals in a table every night at 00:01 am -- I understand the script part... but I don't know HOW that happens with Cron

Thanks...

Spookster 07-24-2002 03:38 PM

You can write an sql script then run it using crontab:

http://www.dbaoncall.net/references/ht_use_crontab.html


All times are GMT +1. The time now is 05:21 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.