Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Linux: cron jobs
(view source)
Revision as of 17:12, 6 April 2015
260 bytes added
,
17:12, 6 April 2015
no edit summary
Line 73:
Line 73:
@daily /home/ramesh/arch-linux/bin/cleanup-logs "day started"
@daily /home/ramesh/arch-linux/bin/cleanup-logs "day started"
@reboot CMD
@reboot CMD
+
+
=== Adding paths to cron jobs ===
+
Add the following line to crontab to specify the location of the scriptss (/home/user/scripts) <br />
+
This will allow to avoid having to type the full path to the script
+
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/home/user/scripts
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version