[ 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
waltools
Posts: 2
Joined: 19 May 2023, 20:45

Re: [ Cron_okm ] Time-based job scheduler

Post 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
User avatar
Madvic
Posts: 16
Joined: 08 Sep 2021, 23:01

Re: [ Cron_okm ] Time-based job scheduler

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

Re: [ Cron_okm ] Time-based job scheduler

Post 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
User avatar
Madvic
Posts: 16
Joined: 08 Sep 2021, 23:01

Re: [ Cron_okm ] Time-based job scheduler

Post by Madvic »

Indeed, dumb me :-)
Thanks
Post Reply