Page 3 of 5

Re: [ Cron_okm ] Time-based job scheduler

Posted: 18 Feb 2023, 23:51
by philou669
Hello,

I installed it I added lines in cron edit but nothing happening. Is there anything special to do like give permission to the app?

thanks

Re: [ Cron_okm ] Time-based job scheduler

Posted: 19 Feb 2023, 03:43
by outkastm
Show a screenshot of what you added

Re: [ Cron_okm ] Time-based job scheduler

Posted: 19 Feb 2023, 04:01
by philou669
Vola
It's tos5

@reboot /Volume1/public/auto/crypt
@reboot /Volume1/public/auto/gdrive_perso
@reboot /Volume1/public/auto/chmod
0 */4 * * * /Volume1/public/auto/rclone
0 */4 * * * /Volume1/public/auto/rclone2
0 */4 * * * /Volume1/public/auto/google_photo_sync
* * * * * /Volume1/public/auto/crypt
* * * * * /Volume1/public/auto/gdrive_perso

Regard

Re: [ Cron_okm ] Time-based job scheduler

Posted: 19 Feb 2023, 04:51
by outkastm
write you superuser name between time and the command to be executed
Image

Re: [ Cron_okm ] Time-based job scheduler

Posted: 19 Feb 2023, 06:37
by philou669
It's Works

Thanks

Re: [ Cron_okm ] Time-based job scheduler

Posted: 24 Feb 2023, 23:06
by Mordac85
Thanks for the quick turnaround. I'm getting a 404 when trying to access the webui and have reinstalled it w/the same result. The only Cron_okm folder I found, which I assume would be under the /modules/ web path, is under the MOD_CONFIG folders in the locations below:
  • /Volume2/User/username/MOD_CONFIG/Cron_okm
  • /Volume2/@apps/Cron_okm
  • /home/username/MOD_CONFIG/Cron_okm
I'm not sure I had this on TOS 4, but there are some differences on TOS 5 I'm getting sorted. Can you point me to the nginx config or how this is supposed to be published?

Re: [ Cron_okm ] Time-based job scheduler

Posted: 20 Apr 2023, 22:27
by Mordac85
OK, I still can't figure out why the webui isn't working. http://NASip/modules/Cron_okm/www gives me a 404 error so maybe it's either not implemented in the TOS 5 version or things changed in TOS 5 that placed the required files in the wrong location? It worked fine in the TOS 4 version.

Also, twice now the app has stopped executing the crontab commands. Stopping & restarting the app doesn't work, the reset function w/in the app doesn't work, but uninstalling and reinstalling does restore functionality. Are there any logs to investigate this further?

Re: [ Cron_okm ] Time-based job scheduler

Posted: 21 Apr 2023, 06:16
by outkastm

Code: Select all

Module WebUI for additional settings can be accesses at 

TOS4: http(s)://yournasip:port/modules/Cron_okm/www 
TOS5: click on Support & Help from app description inside the App Center 
Try the latest version 1.5.7.1

Re: [ Cron_okm ] Time-based job scheduler

Posted: 21 Apr 2023, 21:13
by Mordac85
Thanks for the quick response. I didn't know you could click into the app for additional info like that, but no issues reaching the webui at http://yournasip:port/Cron_okm. I uninstalled the older version and reinstalled the new one after restarting the NAS. So far so good, thank you.

Re: [ Cron_okm ] Time-based job scheduler

Posted: 19 May 2023, 20:54
by waltools
Hi friends,

I can't make it to work with this line, can anyone help please?

@reboot wendhausen '/home/wendhausen/[raid]/[system]/onboot.sh ps3netsrv'

the line in the onboot.sh file is:

case "$1" in
ps3netsrv)
tmux new-session -d -s onboot '/home/wendhausen/[raid]/games/Playstation/ps3netsrv_linuxX86_64 /home/wendhausen/[raid]/games/Playstation/ 38008 *.*.*.*'
;;
esac

please help