Adding a cron job without crontab [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
The community reviewed whether to reopen this question 4 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Is it possible to add a cronjob without using the crontab command? (Or anything else except editing files directly.) Is there a file I need to edit?

You can directly edit the following files:
/etc/crontab
/etc/cron.d/*
/etc/cron.{hourly,daily,weekly,monthly}/*
These are system-wide files. In these files you must specify a username before the command to be executed.
In contrast, per-user crontabs are stored here:
/var/spool/cron/<username>

Related

Remove last character of line in a file only if it is "/" [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 19 days ago.
The community reviewed whether to reopen this question 19 days ago and left it closed:
Duplicate This question has been answered, is not unique, and doesn’t differentiate itself from another question.
Improve this question
All is in the title!
I have a file with plenty of lines (these are paths to file).
Some lines, listing directories, end with the character /: I want to remove it.
Thanks!
Here the solution:
sed -ri 's:/$::g' <FILE_NAME>

Extracting EXE Icons in Ubuntu Linux [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
The community reviewed whether to reopen this question last year and left it closed:
Original close reason(s) were not resolved
Improve this question
I'm looking for a way to extract Icons from EXE files on Linux.
How can I accomplish this on Linux Ubuntu?
Yo can use wrestool to extract the windows icons from .exe file
sudo apt-get install icoutils
wrestool -x -t 14 source.exe > output.ico

Why does "yank" have the meaning of "copy" in Vim? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
This post was edited and submitted for review 1 year ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
yank:
to pull on something with a quick vigorous movement
How does "yank" correspond to the copy functionality in Vim?
The text is pulled (yanked) into the register for later use

How to know if a task in the crontab actually was executed [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a Script that is supposed to be execute by the crontab. How can I verify this at this moment if the task was programmed to be executed several hours ago?
You should modify your crontab file by adding a MAILTO=<your email here> before your cron so that you will be emailed the results of the execution. This won't solve your problem of knowing if the script executed in the past, but it may help you avoid this issue in the future. To make sure you get an email, just add an echo "Running script!" line to the top of your script.

Where crontab -e saves data? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Where cron file for user and for root is saved after executing
crontab -e
and saving data?
/var/spool/cron/username
Use su to access the file.
Each user can have their own crontab, and these files are in /var.

Resources