I want to truncate the table 'watchdog' once a day.
So I heave:
to set the maximum rows number from the 'Logging and Alerts' (of Site Configuration) to 1000
create a crontab on my system to run the root/cron.php once a day
But I can't understand how the process goes. The crontab calls the cron.php . What is the process next?
I see the file cron.php includes the bootstrap.inc. Why is that?
Where is the actual code with the mysql queries (truncate) inside?
I need to understand the process to make some changes to a site.
I have googled it enough and have not find any information.