Форум программистов, компьютерный форум, киберфорум
Python
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.97/34: Рейтинг темы: голосов - 34, средняя оценка - 4.97
 Аватар для KyKyIIIKuH
31 / 0 / 1
Регистрация: 11.06.2013
Сообщений: 19

Выполнение задачи по расписанию

16.11.2015, 15:50. Показов 7042. Ответов 2
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Добрый день!
Имеется скрипт который выполняет определенную функцию по расписанию.
В данный момент скрипт выполняет функцию по расписанию, но есть недочет и заключается он в следующем:
если в таблицу mysql добавить данные с одним и тем же временем выполнения то выполнится только та строка которая стоит первой в списке и совпадает с временем выполнения.

Условие проверки времени для выполнения задания находится на 184 строке.
Если переменные hour_l, min_l, sec_l будут равны нулю то будет выполнено заложенное задание в mysql таблице.

Некоторые задания могут выполняться от 5-10 мин и до 1 часа.

Пример таблицы:
id message datetime
1 Сообщение 1 2015-11-16 00:10:00
2 Сообщение 2 2015-11-16 00:10:00
3 Сообщение 3 2015-11-16 15:00:00

Проблема заключается в том что если добавить 2 задания с одинаковым временем выполнения задания то будет выполнено только одно, нужно чтобы после 1 задания запустилось 2 задание.
Сейчас же после выполнения задания с id №1, будет выполнено задание №3.

Пробовал сделать так: if (hour_l) <= 1 and int(min_l) <= 50 and int(sec_l) <= 59, но тогда получится бред
Если оставить такое условие задачи будут выполнятся не по заданному им времени, а подходящие под это условие.

Сам скрипт
Кликните здесь для просмотра всего текста
Python
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
#!/usr/bin/python
# -*- coding: utf-8 -*-
 
import MySQLdb
 
import cgi, re
import time
import threading
import datetime
import pytz
from config import *
import ast
 
import sys
reload(sys)
print sys.getdefaultencoding()
sys.setdefaultencoding('utf8')
print sys.getdefaultencoding()
 
DBHOST = "localhost"
DBUSER = "user"
DBPASS = "pass"
DBTABLE = "table"
 
sCurrent = 0
 
query0 = "SET NAMES `utf8`"
query1 = "SELECT * FROM `vk_app_sender_autosend` WHERE `status`='0' ORDER BY `id` ASC;"
 
import logging
now = time.localtime()
logging.basicConfig(filename='/var/www/data/PythonScripts/vkapp/sender/autosend_daemon_'+str(now.tm_mon)+"-"+str(now.tm_mday)+'.log',level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
 
print "Script Start"
logging.info("\n")
logging.info('Script Start')
 
def datetimenow(fmt, time):
    if time:
        d = time
        dtz_string = d
    else:
        d = datetime.datetime.now()
        dtz_string = d.strftime(fmt)
    
    d2 = datetime.datetime.strptime(dtz_string, fmt)
    
    today = d2.strftime(fmt)
    return today
 
# Получает список заданий в таблице
def readAutoSend():
    global query0
    global query1
    
    data = []
    
    try:
        con = MySQLdb.connect(host=""+str(DBHOST)+"", user=""+str(DBUSER)+"", passwd=""+str(DBPASS)+"", db=""+str(DBTABLE)+"")
        cur = con.cursor()
        cur.execute(str(query0))
        cur.execute(str(query1))
        result = cur.fetchall()
        for row in result:
            id_ = row[0]
            line_ = row[1]
            hash_ = row[2]
            id_app_ = row[3]
            uid_ = row[4]
            message_ = row[5]
            useruids_ = row[6]
            secret_key_app_ = row[7]
            datetime_ = row[8]
            datetime_start_ = row[9]
            progress_ = row[10]
            category_ = row[11]
            status_ = row[12]
            
            data.append( { 'id': str(id_), 'line': str(line_), 'id_app': str(id_app_), 'message': str(message_), 'datetime_start': str(datetime_start_), 'uid': str(uid_), 'useruids': str(useruids_), 'category': str(category_), 'secret_key_app': str(secret_key_app_) } )
            
        con.close()
    except MySQLdb.Error:
        print(db.error())
    
    return data
 
# Получает колличество пользователей
def countUserApp(id_app):
    count_selected = 0
    
    try:
        con = MySQLdb.connect(host=""+str(DBHOST)+"", user=""+str(DBUSER)+"", passwd=""+str(DBPASS)+"", db=""+str(DBTABLE)+"")
        cur = con.cursor()
        cur.execute('SET NAMES `utf8`')
        cur.execute("SELECT COUNT(id) as count FROM `vk_app_all_visits` WHERE `id_app`='"+str(id_app)+"'")
        result = cur.fetchall()
        for row in result:
            count_selected = (row[0])
            
        con.close()
    except MySQLdb.Error:
        print(db.error())
    
    return count_selected
 
def onAjaxSuccess():
    global sCurrent
    sPosition = sCurrent + 100
    sCurrent = sPosition
 
# Изменяет/Удаляет данные о выполении задания
def progress_(progress, id_app_db, id_field):
    today = datetimenow('%Y-%m-%d %H:%M:%S', '')
    
    try:
        con = MySQLdb.connect(host=""+str(DBHOST)+"", user=""+str(DBUSER)+"", passwd=""+str(DBPASS)+"", db=""+str(DBTABLE)+"")
        cur = con.cursor()
        cur.execute('SET NAMES `utf8`')
        
        if int(progress) == 100:
            cur.execute("DELETE FROM `vk_app_sender_autosend` WHERE `id`='"+str(id_field)+"';")
        else:
            cur.execute("UPDATE `vk_app_sender_autosend` SET `datetime`='"+today+"', `progress`='"+str(progress)+"', `status`='1' WHERE `id`='"+str(id_field)+"';")
        con.close()
    except MySQLdb.Error:
        print(db.error())
    sleep(1.0)
 
class AutoSend(threading.Thread):
    global sCurrent
    
    def __init__(self):
        super(AutoSend, self).__init__()
        self.autosendlist = readAutoSend()
        self.keep_running = True
    
    def run(self):
        global sCurrent
        global cmd
        global query0
        
        double_run = False
        
        try:
            while self.keep_running:
                now = time.localtime()
                
                timestamp_now = int(time.time())
                
                self.autosendlist = readAutoSend()
                
                if(self.autosendlist):
                    for row2 in (self.autosendlist):
                        id_ = row2["id"]
                        uid_ = row2["uid"]
                        line_ = row2["line"]
                        id_app_ = row2["id_app"]
                        message_ = row2["message"]
                        datetime_start_ = row2["datetime_start"]
                        secret_key_app_ = row2["secret_key_app"]
                        
                        fmt = '%Y-%m-%d %H:%M:%S'
                        today = datetimenow(fmt, "")
                        today = today.split(" ")
                        today = today[0].split("-")[2]
                        today_edit = datetimenow(fmt, datetime_start_)
                        today_edit = today_edit.split(" ")
                        today_edit = today_edit[0].split("-")[2]
                        
                        timestamp_edit = time.mktime(datetime.datetime.strptime(datetime_start_, fmt).timetuple())
                        timestamp_new = int(timestamp_now) - int(timestamp_edit)
                        
                        import datetime as DT
                        timestamp_new2 = datetime.datetime.fromtimestamp(timestamp_new).strftime("%Y-%m-%d %H:%M:%S")
                        test2 = DT.datetime.strptime(timestamp_new2, '%Y-%m-%d %H:%M:%S')
                        test2 = test2 + datetime.timedelta(hours=-3)
                        hour_l = int(test2.strftime("%H"))
                        min_l = int(test2.strftime("%M"))
                        sec_l = int(test2.strftime("%S"))
                        
                        datetime_start_2 = datetime_start_.split(":")
                        
                        # Выполняем условие по расписанию
                        if int(hour_l) == 0 and int(min_l) == 0 and int(sec_l) == 0:
                            sFinish = int(countUserApp(id_app_))
                            
                            # Выводим информацию о текущем задании
                            print "========ACTION PROGRESS=========="
                            print "LINE: " +str(line_)
                            print "ID APP: " +str(id_app_)
                            print "MESSAGE: " +str(message_)
                            print "DateTimeStart: " +str(datetime_start_)
                            
                            logging.info( "========ACTION PROGRESS==========" )
                            logging.info( "LINE: " +str(line_) )
                            logging.info( "ID APP: " +str(id_app_) )
                            logging.info( "MESSAGE: " +str(message_) )
                            logging.info( "DateTimeStart: " +str(datetime_start_) )
                            
                            logging.info( "FINISH: " +str(sFinish) )
                            
                            if sFinish != 0:
                                while True:
                                    if int(sFinish) < int(sCurrent):
                                        # Задание завершено, переходим к следующему заданию
                                        result_procent = 100
                                        progress_(result_procent, id_app_, id_)
                                        print "Finish action"
                                        logging.info( "Finish action" )
                                        
                                        sCurrent = 0
                                        break
                                    else:
                                        # Продолжаем выполнение задания
                                        result_procent = (100 * sCurrent / sFinish)
                                        onAjaxSuccess()
                                        time.sleep(2)
                                    
                                    # Выводим информация о выполенении задания
                                    progress_(result_procent, id_app_, id_)
                                    
                                    print str(sCurrent)  + " of " + str(sFinish) + " " + str(result_procent)+"%"
                                    logging.info( "========== info ==========" )
                                    logging.info( str(sCurrent)  + " of " + str(sFinish) + " " + str(result_procent)+"%" )
                
                time.sleep(2)
        except Exception, e:
            raise e
    def die(self):
        self.keep_running = False
 
autosend = AutoSend()
 
def main():
    try:
        autosend.start()
        print 'Started daemon autosend...'
        logging.info( "Started daemon autosend..." )
        while True:
            time.sleep(2)
            continue
    except KeyboardInterrupt:
        print '^C received, shutting down daemon autosend.'
        autosend.die()
 
if __name__ == '__main__':
    main()
0
cpp_developer
Эксперт
20123 / 5690 / 1417
Регистрация: 09.04.2010
Сообщений: 22,546
Блог
16.11.2015, 15:50
Ответы с готовыми решениями:

Выполнение действие по расписанию
Есть некая программа, которая должна выполнятся 24/7. Мне нужно выполнить некое действие(допустим очеству списка) в определённое время. Как...

Выполнение задачи
помогите написать код к данному алгоритму на Pyton, я уже замучился искать функцию для записи вводного как слова...

Выполнение по расписанию.
Уважаемые, возникла не то, чтобы необходимость, но очень хотелось бы данное действо реализовать. В общем в определенное время, к примеру...

2
 Аватар для KyKyIIIKuH
31 / 0 / 1
Регистрация: 11.06.2013
Сообщений: 19
19.11.2015, 21:16  [ТС]
Решил проблему своими силами.
Пришлось создать еще один arraylist, и там хранить информацию о текущих и следующих задачах.
Теперь все задания выполняются в порядке поступления.

Код прилагается:
Кликните здесь для просмотра всего текста
Python
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
#!/usr/bin/python
# -*- coding: utf-8 -*-
 
import MySQLdb
 
import cgi, re
import time
import threading
import datetime
import pytz
from config import *
import ast
 
import sys
reload(sys)
print sys.getdefaultencoding()
sys.setdefaultencoding('utf8')
print sys.getdefaultencoding()
 
DBHOST = "localhost"
DBUSER = "user"
DBPASS = "pass"
DBTABLE = "table"
 
sCurrent = 0
 
query0 = "SET NAMES `utf8`"
query1 = "SELECT * FROM `vk_app_sender_autosend` WHERE `status`='0' ORDER BY `datetime_start` ASC;"
 
import logging
now = time.localtime()
logging.basicConfig(filename='/var/www/data/PythonScripts/vkapp/sender/autosend_daemon_'+str(now.tm_mon)+"-"+str(now.tm_mday)+'.log',level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
 
print "Script Start"
logging.info("\n")
logging.info('Script Start')
 
def datetimenow(fmt, time):
    if time:
        d = time
        dtz_string = d
    else:
        d = datetime.datetime.now()
        dtz_string = d.strftime(fmt)
    
    d2 = datetime.datetime.strptime(dtz_string, fmt)
    
    today = d2.strftime(fmt)
    return today
 
# Получает список заданий в таблице
def readAutoSend():
    global query0
    global query1
    
    data = []
    
    try:
        con = MySQLdb.connect(host=""+str(DBHOST)+"", user=""+str(DBUSER)+"", passwd=""+str(DBPASS)+"", db=""+str(DBTABLE)+"")
        cur = con.cursor()
        cur.execute(str(query0))
        cur.execute(str(query1))
        result = cur.fetchall()
        for row in result:
            id_ = row[0]
            line_ = row[1]
            hash_ = row[2]
            id_app_ = row[3]
            uid_ = row[4]
            message_ = row[5]
            useruids_ = row[6]
            secret_key_app_ = row[7]
            datetime_ = row[8]
            datetime_start_ = row[9]
            progress_ = row[10]
            category_ = row[11]
            status_ = row[12]
            
            data.append( { 'id': str(id_), 'line': str(line_), 'id_app': str(id_app_), 'message': str(message_), 'datetime_start': str(datetime_start_), 'uid': str(uid_), 'useruids': str(useruids_), 'category': str(category_), 'secret_key_app': str(secret_key_app_) } )
            
        con.close()
    except MySQLdb.Error:
        print(db.error())
    
    return data
 
# Получает колличество пользователей
def countUserApp(id_app):
    count_selected = 0
    
    try:
        con = MySQLdb.connect(host=""+str(DBHOST)+"", user=""+str(DBUSER)+"", passwd=""+str(DBPASS)+"", db=""+str(DBTABLE)+"")
        cur = con.cursor()
        cur.execute('SET NAMES `utf8`')
        cur.execute("SELECT COUNT(id) as count FROM `vk_app_all_visits` WHERE `id_app`='"+str(id_app)+"'")
        result = cur.fetchall()
        for row in result:
            count_selected = (row[0])
            
        con.close()
    except MySQLdb.Error:
        print(db.error())
    
    return count_selected
 
def onAjaxSuccess():
    global sCurrent
    sPosition = sCurrent + 100
    sCurrent = sPosition
 
# Изменяет/Удаляет данные о выполении задания
def progress_(progress, id_app_db, id_field):
    today = datetimenow('%Y-%m-%d %H:%M:%S', '')
    
    try:
        con = MySQLdb.connect(host=""+str(DBHOST)+"", user=""+str(DBUSER)+"", passwd=""+str(DBPASS)+"", db=""+str(DBTABLE)+"")
        cur = con.cursor()
        cur.execute('SET NAMES `utf8`')
        
        if int(progress) == 100:
            cur.execute("DELETE FROM `vk_app_sender_autosend` WHERE `id`='"+str(id_field)+"';")
        else:
            cur.execute("UPDATE `vk_app_sender_autosend` SET `datetime`='"+today+"', `progress`='"+str(progress)+"', `status`='1' WHERE `id`='"+str(id_field)+"';")
        con.close()
    except MySQLdb.Error:
        print(db.error())
    sleep(1.0)
 
 
def load_list(autosendlist):
    timestamp_now = int(time.time())
    
    list_ausend = []
    for row2 in (autosendlist):
        fmt = '%Y-%m-%d %H:%M:%S'
        
        datetime_start_ = row2["datetime_start"]
        
        timestamp_edit = time.mktime(datetime.datetime.strptime(datetime_start_, fmt).timetuple())
        timestamp_new = int(timestamp_now) - int(timestamp_edit)
        
        import datetime as DT
        timestamp_new2 = datetime.datetime.fromtimestamp(timestamp_new).strftime("%Y-%m-%d %H:%M:%S")
        test2 = DT.datetime.strptime(timestamp_new2, '%Y-%m-%d %H:%M:%S')
        test2 = test2 + datetime.timedelta(hours=-3)
        hour_l = int(test2.strftime("%H"))
        min_l = int(test2.strftime("%M"))
        sec_l = int(test2.strftime("%S"))
        
        if int(hour_l) == 0 and int(min_l) == 0 and int(sec_l) == 0:
            list_ausend.append({
                "id": row2["id"], 
                "uid": row2["uid"],
                "line": row2["line"],
                "id_app": row2["id_app"],
                "message": row2["message"],
                "datetime_start": datetime_start_,
                "secret_key_app": row2["secret_key_app"]
            })
        
    return list_ausend
 
class AutoSend(threading.Thread):
    global sCurrent
    
    def __init__(self):
        super(AutoSend, self).__init__()
        self.autosendlist = readAutoSend()
        self.keep_running = True
    
    def run(self):
        global sCurrent
        global cmd
        global query0
        
        double_run = False
        
        try:
            while self.keep_running:
                now = time.localtime()
                
                self.autosendlist = readAutoSend()
                
                if(self.autosendlist):
                    list_ausend = load_list(self.autosendlist)
                    
                    for row2 in (list_ausend):
                        id_ = row2["id"]
                        uid_ = row2["uid"]
                        line_ = row2["line"]
                        id_app_ = row2["id_app"]
                        message_ = row2["message"]
                        datetime_start_ = row2["datetime_start"]
                        secret_key_app_ = row2["secret_key_app"]
                        
                        if message_:
                            sFinish = int(countUserApp(id_app_))
                            
                            # Выводим информацию о текущем задании
                            print "========ACTION PROGRESS=========="
                            print "LINE: " +str(line_)
                            print "ID APP: " +str(id_app_)
                            print "MESSAGE: " +str(message_)
                            print "DateTimeStart: " +str(datetime_start_)
                            
                            logging.info( "========ACTION PROGRESS==========" )
                            logging.info( "LINE: " +str(line_) )
                            logging.info( "ID APP: " +str(id_app_) )
                            logging.info( "MESSAGE: " +str(message_) )
                            logging.info( "DateTimeStart: " +str(datetime_start_) )
                            
                            logging.info( "FINISH: " +str(sFinish) )
                            
                            if sFinish != 0:
                                while self.keep_running:
                                    if int(sFinish) < int(sCurrent):
                                        # Задание завершено, переходим к следующему заданию
                                        result_procent = 100
                                        progress_(result_procent, id_app_, id_)
                                        print "Finish action"
                                        logging.info( "Finish action" )
                                        
                                        sCurrent = 0
                                        break
                                    else:
                                        # Продолжаем выполнение задания
                                        result_procent = (100 * sCurrent / sFinish)
                                        onAjaxSuccess()
                                        
                                        time.sleep(2)
                                    
                                    # Выводим информация о выполенении задания
                                    progress_(result_procent, id_app_, id_)
                                    
                                    # Добавляем новые задания если таковые есть
                                    if(int(len(load_list(self.autosendlist))) > 0):
                                        test = load_list(self.autosendlist)
                                        list_ausend.append(test[len(test)-1])
                                    
                                    # Информация о выполнении задания
                                    print str(sCurrent)  + " of " + str(sFinish) + " " + str(result_procent)+"%"
                                    logging.info( "========== info ==========" )
                                    logging.info( str(sCurrent)  + " of " + str(sFinish) + " " + str(result_procent)+"%" )
                
                time.sleep(1)
        except Exception, e:
            raise e
    def die(self):
        self.keep_running = False
 
autosend = AutoSend()
 
def main():
    try:
        autosend.start()
        print 'Started daemon autosend...'
        logging.info( "Started daemon autosend..." )
        while True:
            time.sleep(2)
            continue
    except KeyboardInterrupt:
        print '^C received, shutting down daemon autosend.'
        autosend.die()
 
if __name__ == '__main__':
    main()
0
2742 / 2341 / 620
Регистрация: 19.03.2012
Сообщений: 8,830
19.11.2015, 22:21
Цитата Сообщение от KyKyIIIKuH Посмотреть сообщение
Код прилагается:
Я бы такой код ни кому не показывал.... Это ужас...
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
raxper
Эксперт
30234 / 6612 / 1498
Регистрация: 28.12.2010
Сообщений: 21,154
Блог
19.11.2015, 22:21
Помогаю со студенческими работами здесь

Выполнение скрипта по расписанию
Добрый день. Помогите решить проблему, необходимо каждый день, вечером, запускать определённый скрипт на сайте. Как это можно реализовать,...

Выполнение действий по расписанию
В моей программе пользователь может добавлять различные события и устанавливать время для них. Данные, записанные пользователем, заносятся...

Выполнение кода по расписанию
Подскажите пожалуйста, как реализовать такие задержки, к примеру я хочу чтобы определенный метод вызывался спустя каждые 2 часа. Без...

Выполнение списка заданий по расписанию
Имеется список задач требующих выполнения. Каждая задача выполняется через определенные промежутки времени. Вопрос - как лучше програмно...

Выполнение действий по расписанию, в определенное время
как сделать что бы прога отслеживала время и если наступило к примеру 21:00 выполнила какие-то действия? Бесконечным циклом запустить?...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
3
Ответ Создать тему
Новые блоги и статьи
модель ЗдравоСохранения 8. Подготовка к разному выполнению заданий
anaschu 08.04.2026
https:/ / github. com/ shumilovas/ med2. git main ветка * содержимое блока дэлэй из старой модели теперь внутри зайца новой модели 8ATzM_2aurI
Блокировка документа от изменений, если он открыт у другого пользователя
Maks 08.04.2026
Алгоритм из решения ниже реализован на примере нетипового документа, разработанного в конфигурации КА2. Задача: запретить редактирование документа, если он открыт у другого пользователя. / / . . .
Система безопасности+живучести для сервера-слоя интернета (сети). Двойная привязка.
Hrethgir 08.04.2026
Далее были размышления о системе безопасности. Сообщения с наклонным текстом - мои. А как нам будет можно проверить, что ссылка наша, а не подделана хулиганами, которая выбросит на другую ветку и. . .
Модель ЗдрввоСохранения 7: больше работников, больше ресурсов.
anaschu 08.04.2026
работников и заданий может быть сколько угодно, но настроено всё так, что используется пока что только 20% kYBz3eJf3jQ
Дальние перспективы сервера - слоя сети с космологическим дизайном интефейса карты и логики.
Hrethgir 07.04.2026
Дальнейшее ближайшее планирование вывело к размышлениям над дальними перспективами. И вот тут может быть даже будут нужны оценки специалистов, так как в дальних перспективах всё может очень сильно. . .
Горе от ума
kumehtar 07.04.2026
Эта мне ментальная установка, что вот прямо сейчас, мол, мне для полного счастья не хватает (нужное вписать), и когда я этого достигну - тогда и полный кайф. Одна из самых сильных ловушек на пути. . . .
Использование значений реквизитов справочника в документе, с определенными условиями и правами
Maks 07.04.2026
1. Контроль срока действия договора Алгоритм из решения ниже реализован на примере нетипового документа "ЗаявкаНаРаботу", разработанного в конфигурации КА2. Задача: уведомлять пользователя, если. . .
Доступность команды формы по условию
Maks 07.04.2026
Алгоритм из решения ниже реализован на примере нетипового документа "СписаниеМатериалов", разработанного в конфигурации КА2. Задача: сделать доступной кнопку (команда формы "ЗавершитьСписание") при. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru