Page 4 of 5

Re: [ Cron_okm ] Time-based job scheduler

Posted: 21 May 2023, 21:35
by waltools
#UPDATE

after some time I found the solution... the key is to use absolute path for all apps involved.

crontab:
@reboot wendhausen /Volume1/User/wendhausen/\[raid\]/\[system\]/onboot.sh ps3netsrv

script:
/Volume1/@apps/Tmux/sys/bin/tmux new-session -d -s onboot '/home/wendhausen/[raid]/games/Playstation/ps3netsrv_linuxX86_64 /home/wendhausen/[raid]/games/Playstation/ 38008 *.*.*.*'

now it is scalable.
:D

Re: [ Cron_okm ] Time-based job scheduler

Posted: 21 Jun 2023, 20:03
by Madvic
The tool isn't working, that is, no schedules are triggered. I should be doing something wrong but I don't know what.
Product: F2-221
TOS version: 5.0.176-00227
Cron_okm version: 1.5.7.1

These are the two crontab lines I configured:
*/15 * * * * <absolute_path>/CopyToOneDrive.sh
*/5 * * * * <absolute_path>/SyncToOneDrive.sh

The intent is to have one executed every 15 minutes and the other every 5 minutes

The Daemon is running and auto start is enabled.

Edit: Regular cron (using crontab -e from command line) works well

Re: [ Cron_okm ] Time-based job scheduler

Posted: 21 Jun 2023, 20:28
by outkastm
The app is working, I guess you haven't read the complete topic to see what you did wrong

viewtopic.php?f=37&t=1821&start=20#p24709

Re: [ Cron_okm ] Time-based job scheduler

Posted: 23 Jun 2023, 14:04
by Madvic
Indeed, dumb me :-)
Thanks

Re: [ Cron_okm ] Time-based job scheduler

Posted: 07 Jan 2025, 16:51
by mmedic
Hi! Thank you for the great app. Am I right in understanding that "crontab -e" schedule script will be automatically executed after reboot or I should add it into system boot sequence? I faced the issue that cron-okm cannot be enabled on latest TOS6 after beeing successfully installed via tpk file.

Re: [ Cron_okm ] Time-based job scheduler

Posted: 25 Mar 2025, 09:43
by Scottnorwo
tos 6 soon??

Re: [ Cron_okm ] Time-based job scheduler

Posted: 28 Mar 2025, 03:26
by outkastm
Will be done asap

Re: [ Cron_okm ] Time-based job scheduler

Posted: 20 Jul 2025, 02:06
by Mikmak2000
It seems the v6 version is done by looking at the Apps page, but the page does not link to the file.
If I try v5 on TNAS v6 it installs but cannot start.

Re: [ Cron_okm ] Time-based job scheduler

Posted: 31 Jul 2025, 18:42
by brunix86
outkastm wrote: 28 Mar 2025, 03:26 Will be done asap
Hi outkastm,
I see that the app is compatible with TOS6, but there is no link about that version:
Image

Could you kindly check links?
Thanks

Re: [ Cron_okm ] Time-based job scheduler

Posted: 01 Aug 2025, 04:17
by outkastm
It was up to 6.0.420. I need to create a new app for newer TOS6