Menu

sync every N minutes

Hofman
2020-02-09
2020-02-12
  • Hofman

    Hofman - 2020-02-09

    Currently I have a ramdisk of 10GB on w10, only for cache of firefox, because I browse lots of heavy pictures. In the config, i choose to synchronise on some folder on my SSD. I check only the option ''only copy files with attribute''.
    however when i reboot, the computer takes like 5 minutes to copy all the files to the ssd (but at boot it is very fast???)

    Since there is a button to force the sync in the options, I would like to know the command to force the sync from a little batch file and then i may even trigger this batch file form the task scheduler of windows every 30 minutes for instance.

     
  • v77

    v77 - 2020-02-09

    This question was posted recently on reboot.pro.
    Here is my answer:


    I have difficulties to imagine when this could be interesting.

    Let's assume you are using the Toolkit.
    Synchronizing folders can use a lot of CPU and disk access if there is a lot of files, even if there is no file to copy.
    And if you just did important operations on the ramdisk, there is a manual command to synchronize in the RamDisk Configuration Tool.

    If you still want to try, you can use the task scheduler of Windows with this command:
    "C:\Program Files\ImDisk\ImDiskTk-svc.exe" SYNC

    Don't forget to check "Run with highest privileges" and/or to select an account with enough privileges.

     
  • Hofman

    Hofman - 2020-02-12

    nice, launching the gui is too tedious, so the command is better and i jsut put a shortcut in the quicklaunch bar to trigger this with one click, or jsut create a task.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.