Cron job to copy files to another server




















Obviously you must install lftp package beforehand. This tells cron to run this command every day at 3 AM. Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Learn more. CronJob to copy a directory on a remote server Ask Question. Asked 5 years, 8 months ago. Active 1 year, 2 months ago. Viewed 6k times. Can someone help me with doing this? Improve this question. Juan Ducos Juan Ducos 11 1 1 silver badge 5 5 bronze badges. Active 9 years, 7 months ago. Viewed 10k times. Improve this question. Add a comment. Active Oldest Votes. Improve this answer. Tommy Tommy 1 1 silver badge 7 7 bronze badges. You will have to recreate the cron jobs more or less manually.

Copy the relevant crontab entries to the crontab on the new server. What these resources are is entirely dependent on your local config. Sven Sven JannePikkarainen: Yes, that works as well. Anyway, I like my method and I am usually faster this way. Impressive : — Janne Pikkarainen. This question has already been solved! The person who asked this question has marked it as solved. Solved questions live forever in our knowledge base where they go on to help others facing the same issues for years to come.

Are you sure you have something valuable to add that has not already been mentioned? Consider starting a new topic instead. Otherwise, please be thoughtful, detailed and courteous, and adhere to our posting rules. Edit Preview. H1 H2. Post Reply. Broken Link.



0コメント

  • 1000 / 1000