Skip to content

u/jamithy2

In this archive from Jul 2018 to Nov 2026

9
posts
125
comments
0
media
426
score

I’m not sure why you want to run hyprctl from within cron? If you’re using systemd you could think about running it as a systemd service with a timer?

Are you running this cronjob as root? I’ve seen that error when i tried to run something else as root. It doesn’t like it.

1 points

The xfs filesystem check is done because of the values that you have in /etc/fstab file against each disk partition. iirc, if the value is 2 then it will do a xfs file system check at startup and shutdown. I'd recommend keeping it for your /root partition, but it's up to you if you want it on your /home partition too, or not. I'm not sure if this check is included in the 'systemd-analyze blame' figures or not, to be honest.

Anyway read the arch wiki for fstab, and perhaps the above will make more sense!

1 points

I guess you could use Cron to schedule it to run every night/week to do an update. E.g.

00 01 * * * * yes | sudo dnf upgrade --refresh

Where: Yes application will provide yes to any questions posed by the upgrade app Sudo will run it as root (ensure you can do this without providing a password) The rest of the command should run a system update (I think but I'm not a fedora user, so please check!)

More info here on doing a system update: https://fedoraproject.org/wiki/DNF_system_upgrade

More info here on Cron which will explain the stuff before yes in the command above!!: https://www.ostechnix.com/a-beginners-guide-to-cron-jobs/

1 points

Some of those dependencies look like python 2, you might want to see if there's an updated version that uses python 3, if you're going to invest time into getting your app to work.

Just be aware that python 2 will be depricated ie. end of life next year: https://www.infoworld.com/article/3365221/python-2-end-of-life-how-to-survive-the-end-of-python-2.html

If they're not python 2 apps, then please ignore me! :)

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.