[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] help with a Web problem?



> >As for uploading
> >their own calendars, have them create .pdf files and upload 
> to their own
> >user web space. You could have a cron move their file, as 
> long as they
> >always keep the name the same, on a regular basis to the 
> main directory,
> >or you can just link to www.nomealaska.org/users/username/file.pdf
> >
> >  
> >
> This is how we basically do it now.. I upload it as a pdf.  So right 
> now, I could implement that with minimum fuss. I like the 
> fact that all 
> they have to do is save it to their home directory and cron 
> can grab it. 
> I'm not a scripter though: I think I could maybe figure out 
> using bash 
> how to get cron to cp (not sure mv would be best- maybe it 
> would) a file 
> from one place to another. I don't know how to make it check 
> timestamps 
> and see if the file is new and needs uploading or is the old one. And 
> maybe I should make it pull the file off a samba share on 
> another server 
> - I think I have ssh with RSA key authentication working for that. 
> There's 4 staff in that office and it would be nice if any of 
> them could 
> save that file somewhere, say on one of the group share directories.  
> And if I wanted cron to upload it pretty quickly after they 
> saved it to 
> their home directory, would it be prudent to have it check every half 
> hour or hour?

I guess that would depend on how often they upload a new file.

-- 
C2003 Dan Kriwitsky

Please reply to the list only. Off list replies are not read.