Search found 56 matches: linux cron
Searched query: +linux +cron
- 24 Feb 2024, 23:16
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
@daviank, what you missed is that the user ran crontab -l as a regular user, so it was just going to use his user, with no field for setting it because he cannot change it. Otherwise, in a root-controlled /etc/crontab or /etc/cron.d/ file, you can set the username.
- 24 Feb 2024, 22:43
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
Poking around, I determined how to list both cron and FFS log entries in the system journal (openSUSE does not use /var/log/syslog). The logs showed cron executing FFS and FFS executing. However, I also saw a lot of these messages: Feb 22 03:31:41.985883 ...
- 24 Feb 2024, 21:25
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
Tumbleweed doesn't run SELinux by default; it runs AppArmor which is similar. Your question motivated me to check by reviewing the AppArmor documentation. According to that, running the command "aa-unconfined" as root shows programs which are "confined" or "unconfined."...
- 24 Feb 2024, 17:43
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
Could this be related to SELinux?
- 24 Feb 2024, 17:18
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
According to your logs, command is run with the correct user.
- 24 Feb 2024, 16:31
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
... know for SuSE, but in Debian, there is a field to set the username under which the command should be run. Is "username" field of your cron file correctly set? # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of ...
- 23 Feb 2024, 22:07
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
... and 3) dangerous to mess with without detailed knowledge of how KDE, cron and a myriad other things work. I've been using Linux for years but there are limits to my detailed knowledge of how things work at this point. ...
- 23 Feb 2024, 13:59
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
Does SUSE Tumblewood/your setup use Wayland? Does KDE still use SDDM for the display manager (login screen)? Maybe you can do this, from https://wiki.archlinux.org/title/SDDM#X_authority_(aka_MIT-MAGIC-COOKIE)_file: 33 0 * * * DISPLAY=:0 XAUTHORITY="$( find /var/run/sddm/ -type f )" /usr/l...
- 23 Feb 2024, 08:49
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
Well, nothing worked. I tried the same command as Fwbackups was using but pointing it at FFS - didn't work, I removed the flatpak version of FFS and installed the run file version. Nothing worked. This is the last crontab I tried: rhack@localhost:/Data2/Work> crontab -l #No comment 33 0 * * * DISPLA...
- 22 Feb 2024, 20:39
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
... I did have the DISPLAY command on the same line. Didn't change anything. This is how KDE Task Scheduler works: you put all the variables you want cron to use in the Variable section of Scheduler and they're inserted as shown. So it should work as shown and FreeFileSync shouldn't care if cron doesn't. ...
- 22 Feb 2024, 12:54
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Re: Cron Problem Yet Again - openSUSE Tumbleweed Linux
... flatpak needs more environment variables to correctly connect to the desktop or otherwise run? Have you tried with some other flatpak program in cron, to see if it operates? Can you try inserting the DISPLAY=:0 on the same line with the command, in front of the command flatpak ? Are you expecting ...
- 20 Feb 2024, 01:08
- Forum: Help
- Topic: Cron Problem Yet Again - openSUSE Tumbleweed Linux
- Replies: 11
- Views: 445
Cron Problem Yet Again - openSUSE Tumbleweed Linux
I know, I've searched the forum and found all sorts of cron job solutions - that aren't working for me. I'm running KDE on openSUSE Tumbleweed, latest snapshot, in fact a fresh install yesterday. I installed Task Scheduler in KDE. Here is my original ...
- 28 Sep 2023, 15:16
- Forum: Help
- Topic: Performance freefile sync
- Replies: 10
- Views: 4422
Re: Performance freefile sync
... need it to a lot faster than you're getting it done now. For many years Linux users would do this using a program called rsync. It's not very user ... you can automate with Task Scheduler and on Linux you would use cron or some other task manager like Gnome Schedule. You'll need to spend ...
- 18 Sep 2023, 20:02
- Forum: Help
- Topic: Encountering Connection Error
- Replies: 2
- Views: 777
Encountering Connection Error
... keypair I'm running a series of *.ffs_batch files in bash script as a cron job. The target system is a Rocky Linux 9.2 box running OpenSSH_8.7p1 / OpenSSL 3.0.7 (1 Nov 2022) I was running the free version ...
- 09 Sep 2023, 13:20
- Forum: General Discussion
- Topic: OneDrive
- Replies: 65
- Views: 14132
Re: OneDrive
Yes, rclone can be run as a service on both Windows and Linux. There are different ways to achieve this depending on the operating system ... a systemd service file on the rclone website. Alternatively, you can use [cron] to run rclone periodically or [screen] or [tmux] to run rclone in the background. ...
- 06 Feb 2023, 12:10
- Forum: Help
- Topic: Linux FFS v12.0
- Replies: 3
- Views: 364
Linux FFS v12.0
Hi all,
I have upgraded my freefilesync setup from v11.28 to v12.0 as it is the latest and all my cron jobs resulted in segfault "FreeFileSync[3472450]: segfault at 0"
I have downgraded to v11.29 and will report tomorrow whether it is resolved.
Has anyone else faced this issue with v12.0?
I have upgraded my freefilesync setup from v11.28 to v12.0 as it is the latest and all my cron jobs resulted in segfault "FreeFileSync[3472450]: segfault at 0"
I have downgraded to v11.29 and will report tomorrow whether it is resolved.
Has anyone else faced this issue with v12.0?
- 02 Jan 2023, 19:36
- Forum: Help
- Topic: RTS and mounted NAS drive on Linux
- Replies: 1
- Views: 486
RTS and mounted NAS drive on Linux
... OS where the only difference is obviously path and it's running perfectly as intended. It is not an huge deal breaker as I can just schedule a cron job to run periodically FFS but I would prefer everything to be in real time.
- 12 Nov 2022, 00:55
- Forum: Help
- Topic: creating a cronjob in Ubuntu CLI
- Replies: 5
- Views: 716
Re: creating a cronjob in Ubuntu CLI
I gotta say, it's weird there's no sticky or guide. Setting up a cron on Ubuntu can't be so rare a use case, and this is a really weird and special set of things you have to do to make a linux program work via cron. I've found 10 different contradictory posts and no solid answer.
- 05 Mar 2022, 04:16
- Forum: Help
- Topic: Issue Scheduling FreeFile Sync on Pop!_OS
- Replies: 15
- Views: 1556
Re: Issue Scheduling FreeFile Sync on Pop!_OS
... appears, but anyway, yours might look like that. The login screen (in Linux parlance that would be called the "display manager") usually ... that your computer is sitting at the login screen, when you want this cron entry to run? Or will you be logged in at the time?
- 03 Mar 2022, 14:00
- Forum: Help
- Topic: Issue Scheduling FreeFile Sync on Pop!_OS
- Replies: 15
- Views: 1556
Re: Issue Scheduling FreeFile Sync on Pop!_OS
You need to remove the quote marks from the second token from the crontab entry. The way the command is interpreted by cron, is that it is looking ... making the two parts into two separate tokens. Welcome to the world of Linux shell parsing of spaces! I always fail with the details of the DISPLAY ...
- 16 Dec 2021, 15:47
- Forum: Help
- Topic: Issues Scheduling FreeFileSync on Linux Mint
- Replies: 18
- Views: 1491
Re: Issues Scheduling FreeFileSync on Linux Mint
... remove the character "4" from the end of the binary name. If Zeit doesn't show an erroneous "4" in there, we can inspect the cron entry ourselves. As your user, in a terminal, run: crontab -l That's L as in Lima. That will list the contents of your user's cron table ("crontab"). ...
- 15 Dec 2021, 02:52
- Forum: Help
- Topic: Issues Scheduling FreeFileSync on Linux Mint
- Replies: 18
- Views: 1491
Re: Issues Scheduling FreeFileSync on Linux Mint
Hm, that really should have worked. Change the redirection commands (1>/dev/null 2>&1) to this: 1>>~/ffs.log 2>&1 And then when the cron entries are triggered again, the log files should go to file ~/ffs.log (that's /home/parkernathan/ffs.log) and we can read that output and see what's ...
- 14 Dec 2021, 09:51
- Forum: Help
- Topic: Issues Scheduling FreeFileSync on Linux Mint
- Replies: 18
- Views: 1491
Re: Issues Scheduling FreeFileSync on Linux Mint
... but it'll be fine to use the x86_64 one as the command for your cron entry. The "official" binary is "FreeFileSync", ... additonal checks and tests that help troubleshoting various issues on Linux (e.g. if GTK2 libs are missing).
- 14 Dec 2021, 03:32
- Forum: Help
- Topic: Issues Scheduling FreeFileSync on Linux Mint
- Replies: 18
- Views: 1491
Re: Issues Scheduling FreeFileSync on Linux Mint
... FreeFileSync binary. And it's kind of weird to have two separate binaries running, but it'll be fine to use the x86_64 one as the command for your cron entry. DISPLAY=:0 /opt/FreeFileSync/Bin/FreeFileSync_x86_64 /home/parkernathan/FreeFileSync/WebMate.ffs_batch 1>/dev/null 2>&1
- 09 Dec 2021, 04:16
- Forum: Help
- Topic: Issues Scheduling FreeFileSync on Linux Mint
- Replies: 18
- Views: 1491
Re: Issues Scheduling FreeFileSync on Linux Mint
... you please share a screenshot of your zeit entry for the periodic task, or perhaps share the text loaded into the various fields? In general, a crontab entry should resemble the following, either with or without the username (the first appearance of parkernathan ) depending on which exact cron ...
- 22 Nov 2021, 09:01
- Forum: Help
- Topic: batch job automatic in linux ubuntu
- Replies: 7
- Views: 1255
Re: batch job automatic in linux ubuntu
Guys, the problem is with freefilesync (i am using v11.14 on xubuntu 20.04) running two cron jobs for two different backups using the same command as below: DISPLAY=:0 /opt/FreeFileSync/FreeFileSync XXXXX.ffs_batch Everything works great but after the sync job I have ...
- 21 Nov 2021, 13:22
- Forum: Help
- Topic: Cron jobs on Linux
- Replies: 5
- Views: 1677
Re: Cron jobs on Linux
Ok based on the links you provided I managed to make it work.
Install https://github.com/loimu/zeit - AUR here https://aur.archlinux.org/packages/zeit-git
Then simply add a new cron task as such:
Install https://github.com/loimu/zeit - AUR here https://aur.archlinux.org/packages/zeit-git
Then simply add a new cron task as such:
DISPLAY=:0 /opt/freefilesync/FreeFileSync /home/tio/Documents/websitesbackup.ffs_batch
- 21 Nov 2021, 12:30
- Forum: Help
- Topic: Cron jobs on Linux
- Replies: 5
- Views: 1677
Re: Cron jobs on Linux
To run when I am logged in. I am trying with cron like
But that doesn't launch.
0 23 * * * /opt/freefilesync/FreeFileSync '/home/tio/Documents/ynhdatafull.ffs_batch'
- 20 Nov 2021, 14:12
- Forum: Help
- Topic: Cron jobs on Linux
- Replies: 5
- Views: 1677
Re: Cron jobs on Linux
... display server of some sort, even if you only use the root :0 that the login screen (display manager) uses. Or you can run it with xvfb-run within cron.
- 20 Nov 2021, 11:35
- Forum: Help
- Topic: Cron jobs on Linux
- Replies: 5
- Views: 1677
Re: Cron jobs on Linux
I have tried a bunch but since FFS opens in GUI mode then none work really. I am also using Arch and not Debian (like Ubuntu).