E
E
Engetsur2020-01-17 19:31:59
bash
Engetsur, 2020-01-17 19:31:59

How to write a bash script that transfers all files on the server from folder 1 to folder 2 once every 30 minutes with a description in the log file of the result of its work?

Tell me how to write a bash script that performs the function of transferring all files on the server from folder 1 to folder 2 once every 30 minutes with a description in the log file of the result of its work

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lonelymyp, 2020-01-17
@lonelymyp

Pens, take and write.
Here, right on Habré, there is an article about a backup script with a log https://habr.com/en/post/136313/

S
Saboteur, 2020-01-18
@saboteur_kiev

Write a script that performs the transfer function, with a description in the log file
, configure cron to run your script once every 30 minutes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question