commit message from python script
This commit is contained in:
@@ -28,14 +28,11 @@ def rclone_folders_copy(folder_to_sync=list, dest_folder = str):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
folder_to_sync_manuell = ['ssh_keys', 'frei', 'Doku','Joplin', 'Hack']
|
folder_to_sync_manuell = ['ssh_keys', 'frei', 'Doku','Joplin', 'Hack']
|
||||||
while True:
|
|
||||||
if rclone_folders_copy(folder_to_sync=folder_to_sync_manuell, dest_folder="/home/jonnybravo/.nextcloud") is True:
|
if rclone_folders_copy(folder_to_sync=folder_to_sync_manuell, dest_folder="/home/jonnybravo/.nextcloud") is True:
|
||||||
print("Sync erfolgreich")
|
print("Sync erfolgreich")
|
||||||
time.sleep(60)
|
time.sleep(60)
|
||||||
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print("Sync nicht erfolgreich !!")
|
print("Sync nicht erfolgreich !!")
|
||||||
break
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user