I need to clear couple of tables every night on my db so in the morning they will be empty and ready to use for the end users.
I already wrote the query to truncate them but I'm not sure what is the best way to run it scheduled every midnight.
What is the best way to schedule such a task on windows server ?
TRUNCATE
instead.psql
job.