commit message from python script

This commit is contained in:
2024-02-12 16:33:43 +01:00
parent 04763146fa
commit c46f5f0dfb

View File

@@ -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:
print("Sync nicht erfolgreich !!")
else:
print("Sync nicht erfolgreich !!")
break