Færdiggjort

Init.d and CRON script for running rsync

Hi,

I need an init.d and CRON script wrote up that will simply rsync two folders. The first folder is stored under Root, and the second is to be created & sync'd with dev/shm/ (loading in to RAMDisk).

Operating System: CentOS 5.5

Currently we are using [url removed, login to view] to run the following;

> mkdir /dev/shm/minecraft

> mkdir /dev/shm/minecraft/world

> cp -r /root/Minecraft/worldhdd/world/ /dev/shm/minecraft/

And a CRON job to then sync these, every 30mins;

> */30 * * * * bash /root/Minecraft/[url removed, login to view] &>/dev/null

the .sh has the following;

> VOLATILE="/dev/shm/minecraft/world/"

> PERMANENT="/root/Minecraft/worldhdd/world/"

> rsync -r -t -v "$VOLATILE" "$PERMANENT"

However, this does not appear to be working correctly.

Any assistance with the above is appreciated.

We're also looking to change our [url removed, login to view] script to init.d, to ensure that the rsync is run before ANYTHING else on the system. We also need this init.d script to also run on shutdown, but syncing the RAMDisk (dev/shm) back to the worldhdd folder.

Please provide a basic rundown of how you intend to achieve this in your bid. Bidders with a good work history preferred.

Evner: Linux

Se mere: init script cron job, how to null a script, 30 second script, back up assistance, v world, t sh, r d, r & d, our r&d, linux bash script, d&, d to, d script, cron script, bash script, minecraft linux, linux need root, minecraft dev, centos cron, run local script

Om arbejdsgiveren:
( 24 bedømmelser ) Ireland

Projekt ID: #3319325

Tildelt til:

belghouth

See private message.

$17 USD på 1 dag
(28 bedømmelser)
4.5

7 freelancere byder i gennemsnit $96 på dette job

gfreemann

See private message.

$170 USD på 1 dag
(38 bedømmelser)
5.2
damirmarkovic

See private message.

$68 USD på 1 dag
(40 bedømmelser)
5.0
gkoutsos

See private message.

$68 USD på 1 dag
(3 bedømmelser)
2.7
epsiloncode

See private message.

$34 USD på 1 dag
(1 bedømmelse)
2.0
jeypi

See private message.

$59.5 USD på 1 dag
(4 bedømmelser)
2.2
frankmarlin

See private message.

$255 USD på 1 dag
(0 bedømmelser)
0.0