How to manually reupload failed data?

Asked by Donny Kurnia

After now the uploader successed uploading data, and I know the correct YAML format, how can I re-upload failed data, either one-by-one or batch upload, after I manually edited those data?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
RescueTime Linux Uploader Edit question
Assignee:
No assignee Edit question
Solved by:
Donny Kurnia
Solved:
Last query:
Last reply:
Revision history for this message
Donny Kurnia (donnykurnia) said :
#1

Let me answer this by myself :)

I edited failed file data. What I need to change is this line
- os_username: hantulab%5Cdonny

become

- os_username: hantulab\donny

Then I make sure app_name value wrapped inside singe quote
app_name: donny%40hantulab%3A+%7E

become

app_name: 'donny%40hantulab%3A+%7E'

After the data file edited with above rules, put the data file into ~/.rescuetime/prepared/ directory.
To make monitoring the result easier, I move all files in ~/.rescuetime/finished/, ~/.rescuetime/failed/ and ~/.rescuetime/replys/ into another directory

At upload time, all files in ~/.rescuetime/prepared/ directory will uploaded into RescueTime. So far I successed uploading old data.