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.

Cron Daily Problem

Featured Replies

I was trying to set up a program to update the md5s in my array every morning. I thought I did everything right but it didn't run. Can someone give me a pointer as to what might be wrong? See the play by play below.

 

Thanks!

 

I copied the script into the "/etc/cron/daily" folder. It is called cronmd5.sh. I made sure permissions were set as you'll see below.

 

This morning I saw the following 2 lines in my syslog that have never before appeared:

 

Apr 12 04:40:02 Shark sSMTP[15532]: Unable to locate

Apr 12 04:40:02 Shark sSMTP[15532]: Cannot open :0

 

The program did not run.

 

I just did this on the command line, and it ran perfectly:

 

root@Shark:/# cd /etc/cron.daily

root@Shark:/etc/cron.daily# cronmd5.sh

<noticable delay as the program ran and I observed the output in the syslog>

root@Shark:/etc/cron.daily# ls -la

total 8

drwxr-xr-x  2 root root  80 Apr 11 23:39 .

drwxr-xr-x 45 root root 2480 Apr 11 07:14 ..

-rwxrwxrwx  1 root root  52 Apr 11 23:39 cronmd5.sh

-rwxr-xr-x  1 root root  129 Oct 10  2013 logrotate

root@Shark:/etc/cron.daily# cat cronmd5.sh

#!/bin/bash

cd /mnt/cache/md5

refmd5.sh|logger

 

root@Shark:/etc/cron.daily#

 

Must be something basic I am missing. Thanks for pointing me in the right direction!

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.