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.

Crontab does not appear to work

Featured Replies

Can anyone imagine why the following lines in my crontab do not appear to be working ?

 

@daily /boot/config/Users_Yesterday >/dev/null>&1
@weekly /boot/config/Users_LastWeek >/dev/null>&1
@monthly /boot/config/Users_LastMonth >/dev/null>&1

 

The scripts do run by themselves if I run them so that is not it.. Below the contents of one of the scripts:

 

#!/bin/bash
rsync -avz /mnt/user/users /mnt/user/Users_Yesterday
touch -am /mnt/user/Users_Yesterday/users

Can anyone imagine why the following lines in my crontab do not appear to be working ?

 

@daily /boot/config/Users_Yesterday >/dev/null>&1
@weekly /boot/config/Users_LastWeek >/dev/null>&1
@monthly /boot/config/Users_LastMonth >/dev/null>&1

 

The scripts do run by themselves if I run them so that is not it.. Below the contents of one of the scripts:

 

#!/bin/bash
rsync -avz /mnt/user/users /mnt/user/Users_Yesterday
touch -am /mnt/user/Users_Yesterday/users

easy... crontab on unRAID does not recognize @daily, @weekly, or @monthly as valid lines.

 

Put copies of those scripts in the following directories, and make them execuitable, and they will be run by existing crontab commands.

 

/etc/cron.daily

/etc/cron.weekly

/etc/cron.monthly

 

Example

cp /boot/config/Users_Yesterday /etc/cron.daily/Users_Yesterday

chmod +x /etc/cron.daily/Users_Yesterday

 

 

Joe L.

  • Author

You area a hero Joe, thanks !

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.