Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need a little help with rsync cron job log

Featured Replies

I have setup a rsync cron job for a daily backup to an external disk. Everything works fine, but I can't see anything in the system log. Am I  doing something wrong or is it normal nothings shows up there? I am using the following code:

# Perform a daily backup of my main share at 6:30am
30 6 * * * rsync -a --delete /mnt/user/Pictures\ and\ Video/ /mnt/disks/Backup_Pictures |& logger

 

  • Author

Now I am getting an error email saying: 

 

Subject: cron for user root rsync -a --delete /mnt/user/Pictures\ and\ Video/ /mnt/disks/Backup_Pictures |& logger

 

/bin/sh: $'logger\r': command not found

 

Anybody know whats wrong with it? I am a complete unRaid newbie and my trial is almost finished.  I would like to have everything running perfectly before purchasing.

 

 

Looks like you edited the .cron file you made using Notepad or similar.  You want to use nano locally or Notepad++ on a desktop (set to EOL Conversion:Unix)

  • Author

Thanks. Yes i added the .cron file in nano, but after that i indeed edited it in notepad. Can i just delete the  .cron file in windows and add it again using only nano?

 

Edit: I have deleted it in windows and added the job again through nano. My other errors are gone so i hope all is working good now. 

Edited by KriZ82

  • Author

No more errors and emails. But i am still not seeing anything in the log.  I was under the assumption that the   |& logger command would give me all the actions rsync did in the system log?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.