BJ,
Thanks

Nows it is working.

How can I modify this code to have 1 backup /10 minutes ?
if (config.options.chkOneADayBackUpFile==true)
            backupPath += (new Date()).convertToYYYYMMDDHHMMSSMMM().replace 
(/(.*)\.(.*)/,"$1") + "." + "html";

Objective is a 6 backups rotating pattern like :

> index_00.html
> index_10.html
> ...
> index_50.html
>

Looking forward to read from you

Julien


On Monday, May 16, 2016 at 4:20:37 PM UTC+2, BJ wrote:
>
> type copying it from this url
>
>
> https://raw.githubusercontent.com/buggyj/tiddlywikiplugins/master/simplyLessBackups.js
>
> On Monday, May 16, 2016 at 10:44:19 AM UTC+1, BJ wrote:
>>
>> what version of tiddlywiki are you using?
>>
>> On Monday, May 16, 2016 at 8:38:57 AM UTC+1, julien23 wrote:
>>>
>>> Hi BJ
>>>
>>> Thank you for help.
>>>
>>> I have an issue with your code. 
>>>
>>> [PluginManager] says :
>>>
>>>> Error: SyntaxError: missing ) after formal parameters
>>>>
>>>
>>> Win7x64
>>> FF 46.0.1
>>> TiddlyFox 1.0alpha18.1 
>>>
>>> Any clue ?
>>>
>>> Regards
>>>
>>> Julien 
>>>
>>> On Wednesday, May 11, 2016 at 3:56:34 PM UTC+2, BJ wrote:
>>>
>>> its a tiddlywiki classic plugin - it needs to be copied into a new 
>>>> tiddler and tagged with sytemConfig
>>>>
>>>> On Wednesday, May 11, 2016 at 1:45:41 PM UTC+1, prog...@assays.tv 
>>>> wrote:
>>>>>
>>>>> BJ, Sounds great, looks erm ... like computer code. HOW does a mortal 
>>>>> use it? :-) Josiah, x
>>>>>
>>>>> BJ wrote:
>>>>>>
>>>>>> Hi Julien,
>>>>>> I wrote a simple backup plugin that works when using tiddlyfox:
>>>>>>
>>>>>>
>>>>>> https://github.com/buggyj/tiddlywikiplugins/blob/master/simplyLessBackups.js
>>>>>>
>>>>>> maybe it could be of help to you,
>>>>>>  
>>>>>>
>>>>>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b96f6ed5-d2e4-43ce-a4c0-63d6b237f64b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to