I have heard crontab is a good choice, but how do I write the line and where do I put it on the server?
Ubuntu – How to write a cron that will run a script every day at midnight
cronUbuntu
cronUbuntu
I have heard crontab is a good choice, but how do I write the line and where do I put it on the server?
Best Answer
Here's a good tutorial on what crontab is and how to use it on Ubuntu. Your crontab line will look something like this:
(
00 00
indicates midnight--0 minutes and 0 hours--and the*
s mean every day of every month.)