Hi,
I'm new to this forum but been using Ubuntu for a while.
I'm in a bit of a mix up. I'm not totally new to Ubuntu but compared to you guys i'm sure i'm an ultimate "noob".
I'm not looking for help merely a point in the right direction.
At work, i have been asked to create:
A script that will take a PDFs from a folder, move it onto another folder on the same server. (Later in the development we will look at putting it in a folder on another server by mounting it from start)
It will create a folder (Named the same as the file name) and put the file in that folder. Then delete the file from the source. (As it's moved im sure there isn't a need for that).
The script will be a CRON job which will run lets say every 5 minutes.
Could someone point me in the right direction or help me out in terms of what i need to do to start this?
So far i've tried mounting a folder from another ubuntu server without any luck by following these guides : HERE And HERE
However, i had decided to try and create the script with 2 local folder on the same server instead of mounting from a different server which i will address later.
My setup is:
Proxmox 2.3
Server 1 : 12.04 LTS - 10.0.0.4
Server 2 : 12.04LTS - 10.0.0.5 (Script will run from here) to copy over to server 1.
Both have access to internet through 2nd ethernet interface.
I only just started experimenting with Ubuntu terminal about a month ago so i may not understand a whole lot of things.
Thanks for any help,
Mike
Bookmarks