cronoxhere
Banned User
- Joined
- Jun 27, 2009
- Messages
- 291
- Reaction score
- 2
Hi.. I'm trying to use crontab for a backup but I want it to execute a line dialy and save the log... I was trying something like this:
It works good, the problem is when it execute for second time, it just replace the file.sql.. so I was thinkinh in change the name to something like:
How can I do that?
Code:
0 0 * * * line to execute here > file.sql
It works good, the problem is when it execute for second time, it just replace the file.sql.. so I was thinkinh in change the name to something like:
Code:
0 0 * * * line to execute here > day-month.sql
How can I do that?