Hi,
No change. My trick didn't work.
It is as if at boot time the cron doesn't work, although it works well when I run it thru ssh.
How would I do to make is an iterative cron, let's say evey hour ?
Thanks,
Michel

cat /boot.logdebugoncat /boot.log
cat /var/log/messagesdebugoff
executing user boot commands
LED settings
MAJ de l'heure oprès boot
/direct-usb/fvdw/cron-boot/restart-sync-ntp-daemon.php
user boot commands endedls -al /rw_fs/etc/cronbootscript.sh
ls -al /direct-usb/fvdw/cron-boot
cat /rw_fs/etc/bootscripts.db
cp /rw_fs/etc/cronbootscript.sh /direct-usb/fvdw
chmod 777 /direct-usb/fvdw/cronbootscript.sh php -f /direct-usb/fvdw/cron-boot/restart-sync-ntp-daemon.php
Check Internet Connection...
Getting WAN access : [ OK ]
Start NTPD service : [ OK ]
root@Serveur-Maison:/ # ls -al /rw_fs/etc/cronbootscript.sh
-rwxr-xr-x 1 nobody nobody 542 2018-01-01 21:29 /rw_fs/etc/cronbootscript.sh
root@Serveur-Maison:/ # ls -al /direct-usb/fvdw/cron-boot
total 60
drwxrwxrwx 2 root root 4096 2022-11-19 18:55 .
drwxrwxrwx 6 root root 4096 2022-07-27 18:06 ..
-rw-rw-rw- 1 nobody nobody 15253 2022-11-19 18:51 log after.doc
-rw-rw-rw- 1 nobody nobody 23822 2022-11-19 18:44 log before.doc
-rw-rw-rw- 1 nobody nobody 934 2022-11-17 11:48 restart-sync-ntp-daemon old 2 .php
-rw-rw-rw- 1 nobody nobody 830 2018-01-01 13:58 restart-sync-ntp-daemon old.php
-rw-rw-rw- 1 nobody nobody 1322 2018-01-02 00:30 restart-sync-ntp-daemon.php
root@Serveur-Maison:/ # cat /rw_fs/etc/bootscripts.db
0:/direct-usb/fvdw/cron-boot/restart-sync-ntp-daemon old 2 .php:
0:/direct-usb/fvdw/cron-boot/restart-sync-ntp-daemon old.php:
1:/direct-usb/fvdw/cron-boot/restart-sync-ntp-daemon.php:
root@Serveur-Maison:/ # cp /rw_fs/etc/cronbootscript.sh /direct_usb/fvdw
cp: cannot create regular file `/direct_usb/fvdw': No such file or directory
root@Serveur-Maison:/ # chmod 777 /direct-usb/fvdw/cronbootscript.sh
chmod: cannot access `/direct-usb/fvdw/cronbootscript.sh': No such file or directory
cp /rw_fs/etc/cronbootscript.sh /direct_usb/fvdw/cronbootscript.sh
chmod 777 /direct-usb/fvdw/cronbootscript.sh
sh -x /rw_fs/etc/cronbootscript.sh
So we will never know what was the issue because this action repaired it.myo38 wrote:I redid the enable/disable and find the resulting file ''.sh' attached
Return to Lacie cloudbox (white casing)
Users browsing this forum: No registered users and 10 guests