Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line parameter for custom settings.xml #481

Closed
4 tasks done
phw198 opened this issue Feb 28, 2018 · 3 comments
Closed
4 tasks done

Command line parameter for custom settings.xml #481

phw198 opened this issue Feb 28, 2018 · 3 comments
Assignees
Labels
enhancement New feature

Comments

@phw198
Copy link
Owner

phw198 commented Feb 28, 2018

To better support syncing of multiple calendars by running concurrent instances of OGCS (see #165), @sgoschin suggested allowing the option to specify the settings.xml file to be used on the command line.

This will also help testing OGCS against different configurations, so probably should have done this a long time ago!

  • /? or /help = dialogue box of switches
  • /s:settings.xml = specify settings file
  • /l:ogcalsync.log = specify logging file
  • /d:60 = startup delay in seconds (migrated from --delay)
@phw198 phw198 added the enhancement New feature label Feb 28, 2018
@phw198 phw198 self-assigned this Feb 28, 2018
@phw198
Copy link
Owner Author

phw198 commented Mar 4, 2018

📦 Development build v2.7.1.4.zip (see instructions for applying in the same way as a hotfix).

Note, the Start on startup option will only work for a single instance of OGCS, so if you want multiple instances of OGCS to start on startup with different configurations, either

  • manually create your own registry keys in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, or
  • Drop .bat files into your Windows menu Startup folder

It's also likely safest to use full paths to reference the settings.xml file / log file.

Please let me know how it goes!

@skippy428
Copy link

skippy428 commented Apr 10, 2018

Would it be possible to get a more clear explination of how to handle creating new registry keys or .bat files. I think that helps solve the issue of having to open up multiple instances of OGCS for multiple calendar syncs.

I'm referencing back to the comments:

Note, the Start on startup option will only work for a single instance of OGCS, so if you want multiple instances of OGCS to start on startup with different configurations, either

manually create your own registry keys in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, or
Drop .bat files into your Windows menu Startup folder
It's also likely safest to use full paths to reference the settings.xml file / log file.

Overall, I'm just looking for step by step explanation of how to setup OGCS with multiple calendar syncs and for it to open/run all of them automatically after like a computer restart. So if multiple .bat files could help solve for this, how do the .bat files get created and where do they go?

@phw198
Copy link
Owner Author

phw198 commented Apr 17, 2018

@skippy428 Take a look at Issue #165 - instructions are more detailed there and hopefully that will have what you're after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature
Projects
None yet
Development

No branches or pull requests

2 participants