I have a simple script that copies a few files from a USB stick for me. Fossa64 9.5 Multiple Frugal on EXT4 hard drives.
I have setup a few jobs in pSchedule and want to update the root file on a few PC's. The script can copy normal files fine... but it does not "see" the root file.
This is the script. The first line works as expected and adds the scripts I call in the updated pSchedule list. The second line skips root, but did copy the test.txt file I added to the folder. Thanks again for all the tips!
#!/bin/bash
cp /mnt/sdb1/1a/app/. /root/my-applications/bin/
cp /mnt/sdb1/1a/nroot/. /var/spool/cron/crontabs/
This image https://imgur.com/a/n0REx1Q shows how the text file copied fine... but no root update.