SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is the data in a file named cron. If I use 'crontab cron' wouldn't that be all there is to make cron run the script 'getsao'? I want cron to run the getsao script at :02 passed they hour each hour of everyday.
Well the getsao script is permissioned. As the user I typed 'chmod +x getsao'. The script runs good when I run it manually. Now the file named 'cron' is a viewable file but not executable.
Is there something wrong with that? Where should I look to see if the right command was made? A file is created in the '/var/spool/crontabs/' directory with the commands that are to be run.
well check out /etc/
there is cron.daily, cron.hourly. cron.weekly and cron.monthly
Just copy your script to of the following directory and it will run according to the directory name.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.