+ Post New Thread
Results 1 to 3 of 3
*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 ...
  1. #1
    basicchannel's Avatar
    Join Date
    May 2010
    Location
    Norfolk, UK
    Posts
    279
    Thank Post
    36
    Thanked 23 Times in 15 Posts
    Blog Entries
    1
    Rep Power
    23

    Automated publishing of file to web server

    Hi,

    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.

  2. #2

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,983
    Thank Post
    113
    Thanked 503 Times in 339 Posts
    Blog Entries
    2
    Rep Power
    285
    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.
    ls ~/.gvfs/

  3. #3

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,647
    Thank Post
    1,256
    Thanked 781 Times in 678 Posts
    Rep Power
    236
    Quote Originally Posted by basicchannel View Post
    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?
    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.

SHARE:
+ Post New Thread

Similar Threads

  1. Migrating files to new server using DFS - is this correct?
    By iSteve in forum Windows Server 2008
    Replies: 2
    Last Post: 12th July 2011, 12:42 PM
  2. Replies: 0
    Last Post: 22nd February 2011, 02:20 PM
  3. Problem - external access to web server
    By actech in forum Web Development
    Replies: 14
    Last Post: 3rd April 2009, 01:08 PM
  4. Replies: 6
    Last Post: 10th October 2007, 10:13 AM
  5. security of internally hosted web server
    By Wizzer in forum Web Development
    Replies: 7
    Last Post: 27th June 2006, 08:50 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •