tracking crontab changes with gitIs it possible to store user's crontab in user's git repository on...
Exploiting the delay when a festival ticket is scanned
Complaints from (junior) developers against solution architects: how can we show the benefits of our work and improve relationships?
Move arrows along a contour
Three Dots in Center Page
How can I solve this sudoku?
What is the highest achievable score in Catan
Applications of pure mathematics in operations research
How to innovate in OR
What is the difference between "baruch" and "mevorach" regarding G-d?
Why did some Apollo missions carry a grenade launcher?
Antonym of "Megalomania"
Is it unprofessional to mention your cover letter and resume are best viewed in Chrome?
Why don't short runways use ramps for takeoff?
Do professors like answering questions from non-students/private citizens?
What is my clock telling me to do?
Is it possible to tell if a child will turn into a Hag?
Efficiently finding furthest two nodes in a graph
Did Vladimir Lenin have a cat?
Embedded C - Most elegant way to insert a delay
Should I put my name first, or last in the team members list
Should I intervene when a colleague in a different department makes students run laps as part of their grade?
Easy way to get process from window
Correct word for a little toy that always stands up?
How does Asimov's second law deal with contradictory orders from different people?
tracking crontab changes with git
Is it possible to store user's crontab in user's git repository on OpenBSD?how to perform git push using crontabCrontab with SVN and GitCrontab with GithubDoes git contain information about used id / group id changes?Crontab shell script git pull and forever startGit tracking dotfiles that are symlinkedI have nested git repos, will it cause a problem?Error while searching for non-existent string with EDITOR=vi crontab -eGit and Git LFS: Doing version tracking on files via a serverCrontab changes not working
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I would like to use git
to track changes in crontab
.
I have initialized a new git repository in /var/spool/cron/crontabs/
Now the problem is, when crontab is saved, the second line of the header changes because it contains timestamp.
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.ubNueW/crontab installed on Thu Aug 1 06:29:24 2019)
What would be the easiest way to ignore these irrelevant changes ?
cron git
add a comment |
I would like to use git
to track changes in crontab
.
I have initialized a new git repository in /var/spool/cron/crontabs/
Now the problem is, when crontab is saved, the second line of the header changes because it contains timestamp.
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.ubNueW/crontab installed on Thu Aug 1 06:29:24 2019)
What would be the easiest way to ignore these irrelevant changes ?
cron git
1
Possible duplicate of Is it possible to store user's crontab in user's git repository on OpenBSD?
– cas
40 mins ago
add a comment |
I would like to use git
to track changes in crontab
.
I have initialized a new git repository in /var/spool/cron/crontabs/
Now the problem is, when crontab is saved, the second line of the header changes because it contains timestamp.
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.ubNueW/crontab installed on Thu Aug 1 06:29:24 2019)
What would be the easiest way to ignore these irrelevant changes ?
cron git
I would like to use git
to track changes in crontab
.
I have initialized a new git repository in /var/spool/cron/crontabs/
Now the problem is, when crontab is saved, the second line of the header changes because it contains timestamp.
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.ubNueW/crontab installed on Thu Aug 1 06:29:24 2019)
What would be the easiest way to ignore these irrelevant changes ?
cron git
cron git
asked 51 mins ago
Martin VegterMartin Vegter
82139 gold badges140 silver badges257 bronze badges
82139 gold badges140 silver badges257 bronze badges
1
Possible duplicate of Is it possible to store user's crontab in user's git repository on OpenBSD?
– cas
40 mins ago
add a comment |
1
Possible duplicate of Is it possible to store user's crontab in user's git repository on OpenBSD?
– cas
40 mins ago
1
1
Possible duplicate of Is it possible to store user's crontab in user's git repository on OpenBSD?
– cas
40 mins ago
Possible duplicate of Is it possible to store user's crontab in user's git repository on OpenBSD?
– cas
40 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f533271%2ftracking-crontab-changes-with-git%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f533271%2ftracking-crontab-changes-with-git%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Possible duplicate of Is it possible to store user's crontab in user's git repository on OpenBSD?
– cas
40 mins ago