المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : كود مشاهدة الكرون cron في السي بانل Whm / Cpanel CSF Firewall



Rise Company
05-04-2020, 04:05
كود مشاهدة الكرون CRON Jobs في السي بانل Whm / Cpanel CSF Firewall
Managing cPanel cron jobs in WHM - How to view Cron log files in cPanel
WHM (root) CRON Jobs | cPanel & WHM - HOw to Find cronjobs via WHM
Where to find cron jobs and their logs on your cPanel
Where to find cron jobs and their logs on your cPanel server
- How do I find and delete a cron job?How To Add / remove - Cron Job in WHM

https://www.rise.company/upload/uploads/158605732244531.jpg

Cron jobs are scheduled tasks that the system runs at predefined times or intervals.
Typically, a cron job contains a series of simple tasks that the system runs from a script file.

In cPanel there is no feature to view the cron logs files using a build-in feature. However, by using the terminal feature, you can view the cron log files using cPanel. To use this feature, you will need WHM access and the terminal feature enabled. This kind of access is only available to server owners.

الكرون Cron فى whm غير موجود كاختيار يمكن الذهاب اليه لذلك يجب الدخول اليه
من خلال الشيل لكي يظهر جميع Crons التى تعمل.



Log in to WHM.
Navigate to Server Configuration -> Terminal.
Use one of the following options:

Tail the log:
tail -f /var/log/cron
Open the full file:
cat /var/log/cron
Open the file with a scroll function (arrow down/up on the keyboard)
more /var/log/cron




https://www.rise.company/upload/uploads/158605242920081.png

كود مشاهدة الكرون List your crontab view


crontab -l

كود تعديل الكرون Edit your crontab
هذا الكود امن تماما استخدمه لحذف السطر المطلوب

EDITOR=nano crontab -e


How to remove or delete single cron job
you will get crontab opened with an editor, simply delete the line there, save the file and quit editor
Now either remove cron command or marked '#' at start of command. Now save file ( ctrl +X) y & enter.

خطر ا حذف جميع الكرون بشكل عام Remove your crontab
Note: This will remove all cron job.


crontab -r


Remove all cron jobs
If and only if you want to stop all cron jobs, you can remove them entirely with:
This removes the entire crontab file for current user so be careful if you've got other cron jobs listed in there!


لا تستخدم الحذف نهائيا ... استخدم التعديل فقط

https://www.rise.company/upload/uploads/1626705605291.png
تم التجربة وهو يعمل بشكل سليم وامن 100 %

المرجع :
https://help.dreamhost.com/hc/en-us/articles/215767047-Creating-a-custom-Cron-Job

Rise Company
19-07-2021, 16:45
https://www.rise.company/upload/uploads/158605242922612.png

https://www.rise.company/upload/uploads/158605251973681.png