The Linux (LMDE) desktop I'm working on is not on 24/7. It's used at various times of the day.
What I'd like to do is have FileSync update run an update session (batch) file once a week. However seems cron can only do so at a specified time.
For example @weekly does so at midnight. As I'm not only working at midnight on Sunday (computer is shutdown) am looking for a solution to:
Run FileSync ffs_batch file:
• Anytime the computer if on
• One time only
• One day a week
I'm unsure how to carry out this task.
I've looked at various cron job options but cron appear to link to a specific time only.
Run once (at anytime) weekly
- Posts: 2
- Joined: 14 Feb 2026
- Posts: 4908
- Joined: 11 Jun 2019
Very restrictive constraints. You could use RTS to have auto-syncing instead of "scheduled". Or you might have to write your own script that keeps track of the last time the sync ran, runs it if over seven days ago, and have that script auto-run at login
- Posts: 2
- Joined: 14 Feb 2026
Thanks. Was thinking that a script would be the answer to the issue. Wanted to verify with those who have worked more extensively with cron that it couldn't be executed as a cron job.
Thanks!
Thanks!