Mobile app version of vmapp.org
Login or Join
Lengel546

: Moving files between directories automatically I know what I am trying to achieve can be done via cron job, but I know nothing about coding this at all. I have a directory on a website that

@Lengel546

Posted in: #Cron #Files

I know what I am trying to achieve can be done via cron job, but I know nothing about coding this at all.

I have a directory on a website that it updated with new files from an external source daily. After these files have been deposited in this directory, I want a cron job to take them and move them to an archive in another folder under the same domain (not in the same directory).

How can I achieve this?

Further details: the server is running Linux Redhat and I operate it via cPanel. The archive isn't actually an archive but just another directory where the files will live until I decide to delete them. The files themselves are .zip and csv files. There are a total of 2 files that originate on the server on a daily basis which need to be moved across by the end of the day.

Thanks

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Lengel546

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme