Thank you! I'll give it a go.

On Tuesday, 26 January 2021 at 22:39:58 UTC+7 Javier Rojas wrote:

> On Tue, Jan 26, 2021 at 02:45:57AM -0800, [email protected] wrote:
> > Has anyone implemented a scheme like this? I'm guessing that something 
> like 
> > this effect can be achieved using git, but has anyone managed to do this 
> in 
> > an automated way, without requiring a manual commit for each save?
>
> I keep several tiddlywikis in git, and have set-up a cronjob that
> commits any changes made in the last hour. The commits are automatic.
>
> The cronjob script is just this:
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> #!/bin/bash
> set -e
>
> cd /home/user/public_html/tiddlys/
> git add .
> git commit -am 'auto commit'
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "TiddlyWiki" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected].
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/33151d1e-01b7-44d9-bd9d-2c6c8b2a7131n%40googlegroups.com
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7627db7f-a812-49b5-a2b4-01f50bcdb465n%40googlegroups.com.

Reply via email to