[ Cron_okm ] Time-based job scheduler

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
User avatar
philou669
Posts: 12
Joined: 18 Aug 2020, 01:37

Re: [ Cron_okm ] Time-based job scheduler

Post 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
User avatar
outkastm
Posts: 1192
Joined: 29 Dec 2020, 23:52

Re: [ Cron_okm ] Time-based job scheduler

Post by outkastm »

Show a screenshot of what you added
User avatar
philou669
Posts: 12
Joined: 18 Aug 2020, 01:37

Re: [ Cron_okm ] Time-based job scheduler

Post 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
Attachments
2023-02-18-14-54-28.png
User avatar
outkastm
Posts: 1192
Joined: 29 Dec 2020, 23:52

Re: [ Cron_okm ] Time-based job scheduler

Post by outkastm »

write you superuser name between time and the command to be executed
Image
User avatar
philou669
Posts: 12
Joined: 18 Aug 2020, 01:37

Re: [ Cron_okm ] Time-based job scheduler

Post by philou669 »

It's Works

Thanks
User avatar
Mordac85
Posts: 32
Joined: 26 Sep 2021, 10:58

Re: [ Cron_okm ] Time-based job scheduler

Post 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?
F5-221
TOS 5.1.67
4 x 4TB RAID5 EXT4
1 x 8TB EXT4
User avatar
Mordac85
Posts: 32
Joined: 26 Sep 2021, 10:58

Re: [ Cron_okm ] Time-based job scheduler

Post 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?
F5-221
TOS 5.1.67
4 x 4TB RAID5 EXT4
1 x 8TB EXT4
User avatar
outkastm
Posts: 1192
Joined: 29 Dec 2020, 23:52

Re: [ Cron_okm ] Time-based job scheduler

Post 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
User avatar
Mordac85
Posts: 32
Joined: 26 Sep 2021, 10:58

Re: [ Cron_okm ] Time-based job scheduler

Post 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.
F5-221
TOS 5.1.67
4 x 4TB RAID5 EXT4
1 x 8TB EXT4
User avatar
waltools
Posts: 2
Joined: 19 May 2023, 20:45

Re: [ Cron_okm ] Time-based job scheduler

Post 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
Post Reply

Return to “Developer Discussion Room”