LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-04-2024, 08:16 AM   #1
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 487

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
dcron and /etc/default/run-parts


Hi,

I just see it's possible to set variables (and more) in /etc/default/run-parts. It's very very useful to set different $PATH to different user (and more things) globally without modifying/bloating crontabs files.

This behavior is not supported in 15.0. So I rebuilt dcron for 15.0 using current SB and it works. I'm very glad!!!

Thanks a lot Pat!
 
Old 01-04-2024, 01:21 PM   #2
lostintime
Member
 
Registered: Dec 2021
Posts: 210

Rep: Reputation: Disabled
Interesting. Looks like the change was introduced Friday August 5 2022.
 
Old 01-04-2024, 04:07 PM   #3
metaed
Member
 
Registered: Apr 2022
Location: US
Distribution: Slackware64 15.0
Posts: 375

Rep: Reputation: 173Reputation: 173
This looks useful. It seems to be undocumented in the man page.
 
Old 01-04-2024, 04:54 PM   #4
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,447

Rep: Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204Reputation: 4204
https://www.linuxquestions.org/quest...0/#post6474639
 
Old 01-04-2024, 08:17 PM   #5
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,548

Rep: Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557
Thanks also to Thom1b! Sorry, I saw this in requests for -current first.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to offer dcron updates metaed Slackware 2 12-28-2022 01:20 AM
[SOLVED] dcron and run-parts Barcoboy Slackware 10 09-08-2012 11:49 AM
dcron - run script last friday of month cotton213 Linux - Software 7 06-25-2012 04:03 PM
run-parts: /etc/cron.daily/man-db exited with return code 2 cccc Debian 1 03-03-2007 05:46 AM
need run-parts run in reverse. jukemann Linux - General 4 01-10-2007 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration