start_sync#
- start_sync(src_dir: str, dst_dir_uri: str, sync_interval: int = 600, fs: rastervision.pipeline.file_system.file_system.FileSystem | None = None) None[source]#
Repeatedly sync a local source directory to a destination on a schedule.
Calls
sync_to_dir()on a schedule.- Parameters
src_dir (str) – path of the local source directory
dst_dir_uri (str) – URI of destination directory
sync_interval (int) – period in seconds for syncing
fs (rastervision.pipeline.file_system.file_system.FileSystem | None) – if supplied, use fs instead of automatically chosen FileSystem
- Return type
None