JoeUnraidUser

Members
  • Content Count

    147
  • Joined

  • Last visited

Community Reputation

21 Good

About JoeUnraidUser

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. To set the umask to 0000 do the following on a line before your command: umask 0
  2. Try adding the following to the beginning of your command so it runs in a login shell: sudo -i -u root
  3. When I have to reboot from the command line I run: shutdown -r now
  4. Did you try running the script in a login shell like I suggested above?
  5. Try adding "<<<password" to the end of the command: rsync -avhP --progress /source/file/path root@192.168.1.X:/destination/file/path <<<password Change "password" to your password.
  6. I had the same problem when running PERL scripts. I had to hardcode library and config paths. Try running the script in a login shell by doing the following: su - root /mnt/user/test/test.sh <<<password --or-- sudo -i -u root /mnt/user/test/test.sh
  7. You could use the following: echo $(eval echo "~$(whoami)")
  8. You can achieve the same thing from the command line with PERL: perl -pi -e 's/#FF8C2F/#42ADFA/g' /mnt/user/text/mytestfile.txt Perl one-liners
  9. Try: rm -rf /mnt/disks/DELUGETorrents/Sonarr_Pickup/The.100.S06.1080p.BluRay.x264-TURMOiL
  10. Could you create a separate post with the instructions? It would make it much easier for users to follow along.
  11. My upgrade went well. Just incase something goes wrong; don't forget to backup your flash drive before upgrading.
  12. From the error messages, it looks like you need the library libbguile-2.2.so.1: make: error while loading shared libraries: libguile-2.2.so.1: cannot open shared object file: No such file or directory Try installing guile-2.2.3-x86_64-2.txz from DevPack. Edit: I tried an install of HTTP::Cookies and you also need gc-8.0.4-x86_64-1.txz from DevPack.
  13. Your right it doesn't work. I tested it using "MON" and it failed. It looks like Unraid is using "crond 4.5 dillon's cron daemon". It's strange because the man page crontab(1) for "dillon's lightweight cron daemon" contains: a symbolic range for the day of week and month in year # run at 11 am on the first and last Mon, Tue, Wed of each month 0 11 1,5 * mon-wed date Edit: I tested it again using "mon" and it worked. It must only work with lowercase days of the week.