*nix Thread, Automated publishing of file to web server in Technical; Hi,
We have a Ubuntu based webserver and I was wondering if there was any way to set a cron ...
18th November 2013, 11:32 AM #1
Automated publishing of file to web server
We have a Ubuntu based webserver and I was wondering if there was any way to set a cron job that publishes an htm file from our SIMS server to a web directory?
I'm sure this is possible but then again I'm in a weird mood this morning, so what I'm suggesting could be crazy.
18th November 2013, 11:50 AM #2
This canned answer is pretty close, but transfers the wrong way. It should give you a good handle on the problem though.
rsync from linux to smb device (ie: mybook, windows computer, etc..) | Linux.org
As an aside, I use Ubuntu as well, and use the .gvfs filesystem for my rsync, but that's in interactive, graphical mode, which probably isn't much use on your server. It's handy to know, though.
18th November 2013, 01:34 PM #3
Just share an appropriate folder (probably a sub-folder of /var/www) as a Samba share, then mount that share from the SIMS server and have Windows copy the file straight over. You should be able to do Samba file sharing from the GUI in Ubuntu, there shouldn't be any need to go tinkering around with smb.conf. If you wanted, you could make the Ubuntu machine a domain member so you could assign whatever file permissions you wanted to any shares.
Originally Posted by basicchannel
By iSteve in forum Windows Server 2008
Last Post: 12th July 2011, 01:42 PM
By reggiep in forum Web Development
Last Post: 22nd February 2011, 03:20 PM
By actech in forum Web Development
Last Post: 3rd April 2009, 02:08 PM
By Halfmad in forum Windows
Last Post: 10th October 2007, 11:13 AM
By Wizzer in forum Web Development
Last Post: 27th June 2006, 09:50 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)